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-text-to-video",
  "prompt": "Paper boats floating on glowing puddles at night, camera slowly pushing in, cinematic",
  "resolution": "480p",
  "ratio": "16:9",
  "duration": 4,
  "generate_audio": false
}
'
{
  "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-text-to-video
required

Seedance 2.0 text-to-video model variant

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

"seedance-2.0-text-to-video"

"seedance-2.0-fast-text-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

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"