Bytedance
Bytedance モデルは統一された非同期ジョブ API で呼び出します。POST /api/generate でタスクを開始し、完了するまで GET /api/generate/{taskId} をポーリングします。このファミリーは 6 個のエンドポイントを提供します。
概要
すべてのエンドポイントは同じ外枠を共有し、変わるのは model と input フィールドだけです。モデルマーケットの playground から任意に実行できます。
認証
/api-keys で API キーを作成し、Bearer トークンとして送信します。ログイン中のブラウザからのリクエストはセッション cookie 経由でも動作します。
Authorization: Bearer <YOUR_API_KEY>タスクの作成
POST https://api.lithovas.com/api/generateボディ:{ "model": "<slug>", "input": { … } }
レスポンス:{ "taskId": "<id>", "state": "waiting" }
結果の照会
GET https://api.lithovas.com/api/generate/<taskId>レスポンス:{ "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }
state が success または fail になるまでこのエンドポイントをポーリングしてください。失敗したタスクは課金されません。エンドポイント
| モデル | タスク | model slug |
|---|---|---|
| Seedance 1.5 Pro | Image to Video | bytedance/seedance-1-5-pro |
| Seedance V1 Pro Fast | Image to Video | bytedance/v1-pro-fast-image-to-video |
| Seedance V1 Pro | Image to Video | bytedance/v1-pro-image-to-video |
| Seedance V1 Pro | Text to Video | bytedance/v1-pro-text-to-video |
| Seedance V1 Lite | Image to Video | bytedance/v1-lite-image-to-video |
| Seedance V1 Lite | Text to Video | bytedance/v1-lite-text-to-video |
Seedance 1.5 Pro · Image to Video
bytedance/seedance-1-5-propromptstring必須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 -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
bytedance/v1-pro-fast-image-to-videopromptstring必須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 -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
bytedance/v1-pro-image-to-videopromptstring必須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 -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
bytedance/v1-pro-text-to-videopromptstring必須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 -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
bytedance/v1-lite-image-to-videopromptstring必須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 -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
bytedance/v1-lite-text-to-videopromptstring必須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 -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
}
}'