MarktSupport← Zurück zur App

Bytedance

Bytedance-Modelle werden über eine einheitliche, asynchrone Job-API aufgerufen. Starte einen Task mit POST /api/generate und frage dann GET /api/generate/{taskId} ab, bis er fertig ist. Diese Familie stellt 6 Endpunkte bereit.

Überblick

Jeder Endpunkt teilt sich dieselbe Hülle — nur model und die input-Felder ändern sich. Führe einen beliebigen im Playground des Modell-Markts aus.

Authentifizierung

Erstelle einen API-Schlüssel unter /api-keys und sende ihn als Bearer-Token. Anfragen aus dem Browser bei angemeldeter Sitzung funktionieren auch über das Session-Cookie.

Authorization: Bearer <YOUR_API_KEY>

Task erstellen

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

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

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

Ergebnis abfragen

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

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

Asynchron
Ein 200 von „Task erstellen“ bedeutet nur, dass der Task angenommen wurde — nicht, dass er fertig ist. Frage diesen Endpunkt ab, bis state zu success oder fail wird. Fehlgeschlagene Tasks werden nicht berechnet.

Endpunkte

ModellTaskmodel 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-Felder
promptstringerforderlich

Text prompt for video generation (3-20000 chars)

input_urlsarray<string>optional

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

aspect_ratioenum<string>erforderlich

Video aspect ratio configuration

resolutionenum<string>optional

Video resolution quality level

durationnumbererforderlich

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

Beispiel
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-Felder
promptstringerforderlich

Text prompt for video generation (max 10000 chars)

image_urlstringerforderlich

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

Beispiel
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-Felder
promptstringerforderlich

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

image_urlstringerforderlich

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

Beispiel
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-Felder
promptstringerforderlich

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

Beispiel
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-Felder
promptstringerforderlich

Text prompt for video generation (max 10000 chars)

image_urlstringerforderlich

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

Beispiel
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-Felder
promptstringerforderlich

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

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