マーケットサポート← アプリに戻る

Bytedance

Bytedance モデルは統一された非同期ジョブ API で呼び出します。POST /api/generate でタスクを開始し、完了するまで GET /api/generate/{taskId} をポーリングします。このファミリーは 6 個のエンドポイントを提供します。

概要

すべてのエンドポイントは同じ外枠を共有し、変わるのは modelinput フィールドだけです。モデルマーケットの playground から任意に実行できます。

認証

/api-keys で API キーを作成し、Bearer トークンとして送信します。ログイン中のブラウザからのリクエストはセッション cookie 経由でも動作します。

Authorization: Bearer <YOUR_API_KEY>

タスクの作成

POST
POST https://api.lithovas.com/api/generate

ボディ:{ "model": "<slug>", "input": { … } }

レスポンス:{ "taskId": "<id>", "state": "waiting" }

結果の照会

GET
GET https://api.lithovas.com/api/generate/<taskId>

レスポンス:{ "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }

非同期
タスク作成の 200 は、タスクが受理されたことを意味するだけで、完了ではありません。statesuccess または fail になるまでこのエンドポイントをポーリングしてください。失敗したタスクは課金されません。

エンドポイント

モデルタスクmodel slug
Seedance 1.5 ProImage to Videobytedance/seedance-1-5-pro
Seedance V1 Pro FastImage to Videobytedance/v1-pro-fast-image-to-video
Seedance V1 ProImage to Videobytedance/v1-pro-image-to-video
Seedance V1 ProText to Videobytedance/v1-pro-text-to-video
Seedance V1 LiteImage to Videobytedance/v1-lite-image-to-video
Seedance V1 LiteText to Videobytedance/v1-lite-text-to-video

Seedance 1.5 Pro · Image to Video

POSTImage to Videobytedance/seedance-1-5-pro
input フィールド
promptstring必須

Text prompt for video generation (3-20000 chars)

input_urlsarray<string>任意

0-2 image URLs for image-to-video generation

aspect_ratioenum<string>必須

Video aspect ratio configuration

resolutionenum<string>任意

Video resolution quality level

durationnumber必須

Video duration in seconds (4-12s range)

fixed_lensboolean任意

Lock camera for static shots vs dynamic movement

generate_audioboolean任意

Generate audio track (increases cost)

nsfw_checkerboolean任意

Content filtering enabled/disabled flag

cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedance-1-5-pro",
  "input": {
    "prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
    "input_urls": [
      "https://example.com/file"
    ],
    "aspect_ratio": "1:1",
    "resolution": "720p",
    "duration": 5,
    "fixed_lens": false,
    "generate_audio": false,
    "nsfw_checker": false
  }
}'

Seedance V1 Pro Fast · Image to Video

POSTImage to Videobytedance/v1-pro-fast-image-to-video
input フィールド
promptstring必須

Text prompt for video generation (max 10000 chars)

image_urlstring必須

URL of image to generate video from (JPEG/PNG/WebP, max 10MB)

resolutionenum<string>任意

Output video resolution quality level

durationenum<string>任意

Video length in seconds

nsfw_checkerboolean任意

Enable content filtering; disabling returns unfiltered output

cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/v1-pro-fast-image-to-video",
  "input": {
    "prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
    "image_url": "https://example.com/input.jpg",
    "resolution": "720p",
    "duration": "5",
    "nsfw_checker": false
  }
}'

Seedance V1 Pro · Image to Video

POSTImage to Videobytedance/v1-pro-image-to-video
input フィールド
promptstring必須

Text prompt used to generate the video (max 10000 chars)

image_urlstring必須

URL of the image used to generate video (max 10MB)

resolutionenum<string>任意

Video resolution for quality/speed tradeoff

durationenum<string>任意

Duration of the video in seconds

camera_fixedboolean任意

Whether to fix the camera position during generation

seednumber任意

Random seed for reproducibility; -1 for random

enable_safety_checkerboolean任意

Safety checker always enabled in Playground; disable via API

nsfw_checkerboolean任意

Disable content filtering when false; results returned directly

cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/v1-pro-image-to-video",
  "input": {
    "prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
    "image_url": "https://example.com/input.jpg",
    "resolution": "720p",
    "duration": "5",
    "camera_fixed": false,
    "seed": -1,
    "enable_safety_checker": false,
    "nsfw_checker": false
  }
}'

Seedance V1 Pro · Text to Video

POSTText to Videobytedance/v1-pro-text-to-video
input フィールド
promptstring必須

Text prompt for video generation (max 10000 chars)

aspect_ratioenum<string>任意

Video aspect ratio

resolutionenum<string>任意

Output resolution (480p fastest, 1080p highest quality)

durationenum<string>任意

Video length in seconds

camera_fixedboolean任意

Lock camera position during generation

seednumber任意

Random seed for generation consistency (-1 for random)

enable_safety_checkerboolean任意

Enable content safety filtering

nsfw_checkerboolean任意

Disable content filtering if set to false

cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/v1-pro-text-to-video",
  "input": {
    "prompt": "A cinematic red panda surfing through neon rain at dusk.",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": "5",
    "camera_fixed": false,
    "seed": -1,
    "enable_safety_checker": false,
    "nsfw_checker": false
  }
}'

Seedance V1 Lite · Image to Video

POSTImage to Videobytedance/v1-lite-image-to-video
input フィールド
promptstring必須

Text prompt for video generation (max 10000 chars)

image_urlstring必須

URL of input image (JPEG/PNG/WebP, max 10MB)

resolutionstring任意

Video output resolution

durationstring任意

Video length in seconds

camera_fixedboolean任意

Whether to fix camera position during generation

seednumber任意

Random seed for reproducibility (-1 for random)

enable_safety_checkerboolean任意

Enable safety content filtering

end_image_urlstring任意

Optional URL for final video frame (JPEG/PNG/WebP, max 10MB)

nsfw_checkerboolean任意

Disable content filtering when set to false

cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/v1-lite-image-to-video",
  "input": {
    "prompt": "Animate the image with natural motion, subtle camera movement, and cinematic lighting.",
    "image_url": "https://example.com/input.jpg",
    "resolution": "720p",
    "duration": "5",
    "camera_fixed": false,
    "seed": -1,
    "enable_safety_checker": false,
    "end_image_url": "https://example.com/input.jpg",
    "nsfw_checker": false
  }
}'

Seedance V1 Lite · Text to Video

POSTText to Videobytedance/v1-lite-text-to-video
input フィールド
promptstring必須

Text prompt for video generation (max 10000 chars)

aspect_ratioenum<string>任意

Video aspect ratio

resolutionenum<string>任意

Video resolution (480p faster, 720p higher quality)

durationenum<string>任意

Duration of video in seconds

camera_fixedboolean任意

Whether to fix the camera position

seedinteger任意

Random seed for generation control; use -1 for random

enable_safety_checkerboolean任意

Enable safety content filtering (always on in Playground)

nsfw_checkerboolean任意

Disable content filtering when false; model returns results directly

cURL
curl -X POST https://api.lithovas.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/v1-lite-text-to-video",
  "input": {
    "prompt": "A cinematic red panda surfing through neon rain at dusk.",
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration": "5",
    "camera_fixed": false,
    "seed": 42,
    "enable_safety_checker": false,
    "nsfw_checker": false
  }
}'