{"openapi":"3.0.0","info":{"title":"Seedance API","version":"1.0.0","description":"Video generation API (seedance_2_5_bonus, seedance_2_bonus). Videos are stored for 3 days."},"servers":[{"url":"https://seedancego.com"}],"paths":{"/api/v1/videos/generate":{"post":{"summary":"Create video generation","security":[{"bearerAuth":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","maxLength":8000},"model":{"enum":["seedance_2_5_bonus","seedance_2_bonus"],"description":"seedance_2_5_bonus is fixed 30s / 720p (3 credits). seedance_2_bonus is fixed 15s / 720p (2 credits)."},"aspect_ratio":{"enum":["16:9","9:16","1:1","3:4","4:3","21:9"]},"video_url":{"type":"string","format":"uri","description":"Single reference video URL (MP4, MOV, or WebM, up to 50 MB). Supported types and counts come from GET /api/v1/models references.video."},"referenceVideoUrls":{"type":"array","items":{"type":"string","format":"uri"},"description":"Multiple reference video URLs"},"audio_url":{"type":"string","format":"uri","description":"Single reference audio URL (MP3, WAV, M4A, AAC, or OGG, up to 20 MB). See references.audio on GET /api/v1/models."},"referenceAudioUrls":{"type":"array","items":{"type":"string","format":"uri"},"description":"Multiple reference audio URLs"},"image_url":{"type":"string","format":"uri","description":"Single reference image (public HTTP/HTTPS URL)"},"content":{"type":"array","maxItems":30,"items":{"type":"object","properties":{"type":{"enum":["image_url","video_url","audio_url"]},"image_url":{"type":"object","properties":{"url":{"type":"string","format":"uri"}}},"video_url":{"oneOf":[{"type":"string","format":"uri"},{"type":"object","properties":{"url":{"type":"string","format":"uri"}}}]},"audio_url":{"oneOf":[{"type":"string","format":"uri"},{"type":"object","properties":{"url":{"type":"string","format":"uri"}}}]},"role":{"enum":["reference_image","reference_video","reference_audio"]}}},"description":"Mixed reference content. Limits per model are in GET /api/v1/models (references.photo, references.video, references.audio)."}}}}}}}},"/api/v1/videos/{id}":{"get":{"summary":"Get generation status","security":[{"bearerAuth":[]}]}},"/api/v1/videos/{id}/download":{"get":{"summary":"Get video download URL","security":[{"bearerAuth":[]}]}},"/api/v1/videos":{"get":{"summary":"List generations","security":[{"bearerAuth":[]}]}},"/api/v1/models":{"get":{"summary":"List available models","description":"Includes references.photo, references.video, and references.audio (supported, maxCount) synced from the provider catalog (cached ~5 minutes)."}},"/api/v1/balance":{"get":{"summary":"Get credit balance","security":[{"bearerAuth":[]}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"sk_ API token"}}}}