Skip to main content
POST
/
v1
/
videos
/
generations
curl --request POST \
  --url https://api.foxapi.cc/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "seedance-2.0-reference-to-video",
  "prompt": "Reference @Image1 character styling, @Video1 camera movement rhythm, @Audio1 emotional atmosphere, generate a rainy night street performance video",
  "image_urls": [
    "https://example.com/character.jpg"
  ],
  "video_urls": [
    "https://example.com/motion.mp4"
  ],
  "audio_urls": [
    "https://example.com/music.mp3"
  ],
  "ratio": "adaptive",
  "duration": -1,
  "generate_audio": true
}
'
{
  "created": 1757165031,
  "id": "task-unified-1757165031-uyujaw3d",
  "model": "<string>",
  "object": "video.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 45
  },
  "type": "video"
}

Documentation Index

Fetch the complete documentation index at: https://docs.foxapi.cc/llms.txt

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

Authorizations

Authorization
string
header
required

All APIs require Bearer Token authentication

Add to request header:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
string
default:seedance-2.0-reference-to-video
required

Seedance 2.0 multimodal reference-to-video model variant

  • seedance-2.0-reference-to-video — Standard
  • seedance-2.0-fast-reference-to-video — Fast
Examples:

"seedance-2.0-reference-to-video"

"seedance-2.0-fast-reference-to-video"

prompt
any
required

Text prompt describing the desired video content.

Notes:

  • Supports Chinese and English
  • Maximum 5000 characters
Example:

"A corgi running on a rain-soaked street, cinematic shot"

resolution
any
default:720p

Output video resolution

Options:

  • 480p
  • 720p — Default
Example:

"480p"

ratio
any
default:adaptive

Output video aspect ratio

Options:

  • 16:9, 4:3, 1:1, 3:4, 9:16, 21:9
  • adaptive — Automatically selected by model (default)
Example:

"adaptive"

duration
any
default:5

Output video duration in seconds. Supports integers from 4 to 15, or -1 to let the model decide. Default 5.

Example:

-1

generate_audio
any
default:true

Whether to generate synchronized audio. Default true.

Example:

true

seed
any
default:-1

Random seed. -1 means auto-generated by model; a fixed integer improves result reproducibility.

Example:

-1

image_urls
string[]

Reference image URL list

Notes:

  • Up to 9 images, each ≤30MB
  • Supports JPEG / PNG / WebP
  • Use @Image1, @Image2 etc. in the prompt to reference
Example:
[
"https://example.com/ref1.jpg",
"https://example.com/ref2.jpg"
]
video_urls
string[]

Reference video URL list

Notes:

  • Up to 3 clips, total duration 2-15 seconds, total size <50MB
  • Supports MP4 / MOV
  • Use @Video1, @Video2 etc. in the prompt to reference
Example:
["https://example.com/motion.mp4"]
audio_urls
string[]

Reference audio URL list

Notes:

  • Up to 3 clips, each ≤15 seconds / 15MB
  • Supports MP3 / WAV
  • Use @Audio1, @Audio2 etc. in the prompt to reference
  • When only audio is provided, at least 1 reference image or video is also required
Example:
["https://example.com/music.mp3"]

Response

Task created successfully

created
integer

Task creation timestamp

Example:

1757165031

id
string

Task ID

Example:

"task-unified-1757165031-uyujaw3d"

model
string

Actual model name used

object
enum<string>

Specific task type

Available options:
video.generation.task
progress
integer

Task progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

task_info
object

Asynchronous task information

type
enum<string>

Task output type

Available options:
video
Example:

"video"