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 9 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://97ai.97claude.com/api/generate

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

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

Ergebnis abfragen

GET
GET https://97ai.97claude.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 2Image to Videobytedance/seedance-2
Seedance 2 FastImage to Videobytedance/seedance-2-fast
Seedance 2 MiniImage to Videobytedance/seedance-2-mini
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 2 · Image to Video

POSTImage to Videobytedance/seedance-2
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

image_urlsstring[]erforderlich

One or more source image URLs to condition on.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedance-2",
    "input": { "prompt": "a red panda", "image_urls": ["https://example.com/in.jpg"] }
  }'

Seedance 2 Fast · Image to Video

POSTImage to Videobytedance/seedance-2-fast
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

image_urlsstring[]erforderlich

One or more source image URLs to condition on.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedance-2-fast",
    "input": { "prompt": "a red panda", "image_urls": ["https://example.com/in.jpg"] }
  }'

Seedance 2 Mini · Image to Video

POSTImage to Videobytedance/seedance-2-mini
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

image_urlsstring[]erforderlich

One or more source image URLs to condition on.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedance-2-mini",
    "input": { "prompt": "a red panda", "image_urls": ["https://example.com/in.jpg"] }
  }'

Seedance 1.5 Pro · Image to Video

POSTImage to Videobytedance/seedance-1-5-pro
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

image_urlsstring[]erforderlich

One or more source image URLs to condition on.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedance-1-5-pro",
    "input": { "prompt": "a red panda", "image_urls": ["https://example.com/in.jpg"] }
  }'

Seedance V1 Pro Fast · Image to Video

POSTImage to Videobytedance/v1-pro-fast-image-to-video
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

image_urlsstring[]erforderlich

One or more source image URLs to condition on.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/v1-pro-fast-image-to-video",
    "input": { "prompt": "a red panda", "image_urls": ["https://example.com/in.jpg"] }
  }'

Seedance V1 Pro · Image to Video

POSTImage to Videobytedance/v1-pro-image-to-video
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

image_urlsstring[]erforderlich

One or more source image URLs to condition on.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/v1-pro-image-to-video",
    "input": { "prompt": "a red panda", "image_urls": ["https://example.com/in.jpg"] }
  }'

Seedance V1 Pro · Text to Video

POSTText to Videobytedance/v1-pro-text-to-video
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/v1-pro-text-to-video",
    "input": { "prompt": "a red panda surfing" }
  }'

Seedance V1 Lite · Image to Video

POSTImage to Videobytedance/v1-lite-image-to-video
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

image_urlsstring[]erforderlich

One or more source image URLs to condition on.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/v1-lite-image-to-video",
    "input": { "prompt": "a red panda", "image_urls": ["https://example.com/in.jpg"] }
  }'

Seedance V1 Lite · Text to Video

POSTText to Videobytedance/v1-lite-text-to-video
input-Felder
promptstringerforderlich

Text prompt describing the desired output.

Beispiel
cURL
curl -X POST https://97ai.97claude.com/api/generate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/v1-lite-text-to-video",
    "input": { "prompt": "a red panda surfing" }
  }'