Skip to main content
POST
/
api
/
v3
/
bytedance
/
doubao-seedance-2-0-fast-260128
/
image-to-video
doubao-seedance-2-0-fast-260128 (Image To Video)
curl --request POST \
  --url https://gptproto.com/api/v3/bytedance/doubao-seedance-2-0-fast-260128/image-to-video

Documentation Index

Fetch the complete documentation index at: https://docs.gptproto.com/llms.txt

Use this file to discover all available pages before exploring further.

Authentication

  1. Sign up for a GPTProto account at https://gptproto.com
  2. Navigate to the API Keys section in your dashboard
  3. Generate a new API key (sk-xxxxx)
  4. Copy and securely store your API key For authentication details, please refer to the Authentication section.

Initiate Request

curl --location 'https://gptproto.com/api/v3/bytedance/doubao-seedance-2-0-fast-260128/image-to-video' \
--header 'Authorization: GPTPROTO_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "prompt": "A girl holding a fox, gentle breeze blowing through her hair, golden sunset light, cinematic, shallow depth of field",
  "image": "https://tos.gptproto.com/resource/cat.png",
  "aspect_ratio": "16:9",
  "duration": 5,
  "resolution": "720p",
  "seed": -1
}'

Query Result

curl -X GET "https://gptproto.com/api/v3/predictions/{id}/result" \
  -H "Authorization: GPTPROTO_API_KEY" \
  -H "Content-Type: application/json"
After submitting your prediction request, the response will contain the id you need.
You can find it in either:
  • data.id – the unique identifier of the prediction
  • data.urls[0].get – a ready-to-use GET URL that already embeds the id
{
    "data": {
        "id": "abc",
        "model": "model_name",
        "outputs": [],
        "urls": {
            "get": "https://gptproto.com/api/v3/predictions/abc/result"
        },
        "status": "created",
        "error": null,
        "executionTime": 0,
        "timings": {
            "inference": 0
        },
        "has_nsfw_contents": [],
        "created_at": "2026-01-01 00:00:00"
    },
    "message": "success",
    "code": 200
}
Status Enum
StatusDescription
queuedQueued
runningRunning
succeededSucceeded
failedFailed
expiredExpired

Parameters

Note: Different models may support different parameter options. For more details, please refer to the Model Field Compatibility table.

Core Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstring✅ Yes--The positive prompt for the generation.
aspect_ratiostring❌ No16:921:9
16:9
4:3
1:1
3:4
9:16
The aspect ratio of the generated media.
durationstring❌ No54 ~ 15The duration of the generated media in seconds.
resolutionstring❌ No720p720p
480p
1080p
Video resolution.
generate_audioboolean❌ Notruefalse, trueWhether to generate audio.
camera_fixedboolean❌ Nofalsefalse, trueWhether to fix the camera position.
seedinteger❌ No-1-1 ~ 2147483647The random seed to use for the generation. -1 means a random seed will be used.

Aspect Ratio & Resolution

Note: 1080p is not supported in reference image scene for Seedance 1.0 lite. 1080p is not supported for Seedance 2.0 fast.
ResolutionAspect RatioWidth x Height
Seedance 1.0
Width x Height
Seedance 1.5 pro
Seedance 2.0 & 2.0 fast
480p16:9864×480864×496
480p4:3736×544752×560
480p1:1640×640640×640
480p3:4544×736560×752
480p9:16480×864496×864
480p21:9960×416992×432
720p16:91248×7041280×720
720p4:31120×8321112×834
720p1:1960×960960×960
720p3:4832×1120834×1112
720p9:16704×1248720×1280
720p21:91504×6401470×630
1080p16:91920×10881920×1088
1080p4:31664×12481664×1248
1080p1:11440×14401440×1440
1080p3:41248×16641248×1664
1080p9:161088×19201088×1920
1080p21:92176×9282176×928

Error Codes

Common Error Codes

Error CodeError NameDescription
401UnauthorizedAPI key is missing or invalid
403ForbiddenYour API key doesn’t have permission to access this resource, or insufficient balance for the requested operation
429Too Many RequestsYou’ve exceeded your rate limit
500Internal server errorAn internal server error occurred
503Content policy violationContent blocked due to safety concerns (actual status code is 400)