MarketSupport← Back to app

Bytedance

Bytedance models are called through one unified, asynchronous job API. Start a task with POST /api/generate, then poll GET /api/generate/{taskId} until it finishes. This family exposes 6 endpoints.

Overview

Every endpoint shares the same envelope — only model and the input fields change. Run any from the Models Market playground.

Authentication

Create an API key at /api-keys, then send it as a Bearer token. Requests from the browser while logged in also work via the session cookie.

Authorization: Bearer <YOUR_API_KEY>

Create Task

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

Body: { "model": "<slug>", "input": { … } }

Response: { "taskId": "<id>", "state": "waiting" }

Query Result

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

Response: { "taskId", "state": "waiting" | "success" | "fail", "resultUrls": [ … ], "creditsConsumed", "failMsg", "balance" }

Asynchronous
A 200 from Create Task only means the task was accepted — not finished. Poll this endpoint until state becomes success or fail. Failed tasks are not billed.

Endpoints

ModelTaskmodel 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 fields
promptstringrequired

Text prompt for video generation (3-20000 chars)

input_urlsarray<string>optional

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

aspect_ratioenum<string>required

Video aspect ratio configuration

resolutionenum<string>optional

Video resolution quality level

durationnumberrequired

Video duration in seconds (4-12s range)

fixed_lensbooleanoptional

Lock camera for static shots vs dynamic movement

generate_audiobooleanoptional

Generate audio track (increases cost)

nsfw_checkerbooleanoptional

Content filtering enabled/disabled flag

Example
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 fields
promptstringrequired

Text prompt for video generation (max 10000 chars)

image_urlstringrequired

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

resolutionenum<string>optional

Output video resolution quality level

durationenum<string>optional

Video length in seconds

nsfw_checkerbooleanoptional

Enable content filtering; disabling returns unfiltered output

Example
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 fields
promptstringrequired

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

image_urlstringrequired

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

resolutionenum<string>optional

Video resolution for quality/speed tradeoff

durationenum<string>optional

Duration of the video in seconds

camera_fixedbooleanoptional

Whether to fix the camera position during generation

seednumberoptional

Random seed for reproducibility; -1 for random

enable_safety_checkerbooleanoptional

Safety checker always enabled in Playground; disable via API

nsfw_checkerbooleanoptional

Disable content filtering when false; results returned directly

Example
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 fields
promptstringrequired

Text prompt for video generation (max 10000 chars)

aspect_ratioenum<string>optional

Video aspect ratio

resolutionenum<string>optional

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

durationenum<string>optional

Video length in seconds

camera_fixedbooleanoptional

Lock camera position during generation

seednumberoptional

Random seed for generation consistency (-1 for random)

enable_safety_checkerbooleanoptional

Enable content safety filtering

nsfw_checkerbooleanoptional

Disable content filtering if set to false

Example
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 fields
promptstringrequired

Text prompt for video generation (max 10000 chars)

image_urlstringrequired

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

resolutionstringoptional

Video output resolution

durationstringoptional

Video length in seconds

camera_fixedbooleanoptional

Whether to fix camera position during generation

seednumberoptional

Random seed for reproducibility (-1 for random)

enable_safety_checkerbooleanoptional

Enable safety content filtering

end_image_urlstringoptional

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

nsfw_checkerbooleanoptional

Disable content filtering when set to false

Example
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 fields
promptstringrequired

Text prompt for video generation (max 10000 chars)

aspect_ratioenum<string>optional

Video aspect ratio

resolutionenum<string>optional

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

durationenum<string>optional

Duration of video in seconds

camera_fixedbooleanoptional

Whether to fix the camera position

seedintegeroptional

Random seed for generation control; use -1 for random

enable_safety_checkerbooleanoptional

Enable safety content filtering (always on in Playground)

nsfw_checkerbooleanoptional

Disable content filtering when false; model returns results directly

Example
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
  }
}'