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": "veo-3.1-extend",
  "prompt": "The camera continues to pan across the landscape",
  "video_url": "https://example.com/input-video.mp4",
  "aspect_ratio": "16:9",
  "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:veo-3.1-extend
required

veo-3.1-extend: Standard version veo-3.1-extend-fast: Fast version

Examples:

"veo-3.1-extend"

"veo-3.1-extend-fast"

prompt
string
required

Text prompt describing the direction of the video extension content

Notes:

  • Supports both Chinese and English
  • Describe continuing actions, scene changes, etc.
Example:

"The camera continues to pan across the landscape"

video_url
string
required

Publicly accessible URL of the input video

Notes:

  • Must be a publicly accessible URL
  • Input video should be 720p or 1080p
  • Input video aspect ratio should be 16:9 or 9:16
  • The system will continue generating 7 seconds of content from the end of this video
Example:

"https://example.com/input-video.mp4"

aspect_ratio
string
default:16:9

Output video aspect ratio

Options:

  • 16:9 — Landscape (default)
  • 9:16 — Portrait
Example:

"16:9"

generate_audio
boolean
default:true

Whether to generate accompanying audio

Notes:

  • Enabled by default
Example:

true

auto_fix
boolean | null

Auto-fix prompt (default true)

Do not pass this parameter unless necessary.

Example:

true

safety_tolerance
integer | null

Content safety level, 1 is the strictest

Do not pass this parameter unless necessary.

Required range: 1 <= x <= 6
Example:

3

negative_prompt
string | null

Negative prompt, describing elements you do not want to appear

Notes:

  • Separate multiple keywords with commas

Do not pass this parameter unless necessary.

Example:

"blurry, low quality, watermark"

seed
integer | null

Random seed

Notes:

  • Set a fixed value to reproduce generation results
  • Omit for random

Do not pass this parameter unless necessary.

Example:

42

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

Async task information

type
enum<string>

Task output type

Available options:
video
Example:

"video"