POST
/
v1
/
video
/
create
Create Video (Veo)
curl --request POST \
  --url https://api.example.com/v1/video/create

Create Video (Veo)

Create videos using Google Veo models. Supports text-to-video generation and image-to-video generation with various model variants.

Endpoint

POST /v1/video/create

Authentication

All requests require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_KEY

Supported Models

ModelDescription
veo2Veo 2 base model
veo2-fastVeo 2 fast generation
veo2-fast-framesVeo 2 fast with frame input (supports up to 2 images for first/last frame)
veo2-fast-componentsVeo 2 fast with component images (supports up to 3 images as video elements)
veo2-proVeo 2 professional quality
veo2-pro-componentsVeo 2 pro with component images
veo3Veo 3 base model
veo3-fastVeo 3 fast generation
veo3-fast-framesVeo 3 fast with frame input
veo3-framesVeo 3 with frame input
veo3-proVeo 3 professional quality
veo3-pro-framesVeo 3 pro with frame input (supports 1 image as first frame)
veo3.1Veo 3.1 base model
veo3.1-fastVeo 3.1 fast generation
veo3.1-proVeo 3.1 professional quality

Request Parameters

ParameterTypeRequiredDescription
modelstringYesThe model to use for video generation
promptstringYesText prompt describing the video to generate
imagesarrayNoReference images. For veo2-fast-frames: up to 2 images (first/last frame). For veo3-pro-frames: 1 image (first frame). For veo2-fast-components: up to 3 images (video elements)
aspect_ratiostringNoVideo aspect ratio. Only supported by veo3 models. Options: 16:9 or 9:16
enable_upsamplebooleanNoEnable video upsampling for higher quality
enhance_promptbooleanNoEnable automatic prompt enhancement. Since Veo only supports English prompts, enable this to automatically translate Chinese prompts to English

Request Example

curl -X POST "https://www.anyfast.ai/v1/video/create" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "model": "veo3.1-fast",
    "prompt": "A serene mountain landscape with flowing clouds",
    "enable_upsample": true,
    "enhance_prompt": true,
    "aspect_ratio": "16:9"
  }'

Response Example

{
  "id": "veo3-fast-frames:1757555257-PORrVn9sa9",
  "status": "pending",
  "status_update_time": 1757555257582,
  "enhanced_prompt": "A serene mountain landscape with flowing clouds, cinematic quality"
}

Response Fields

FieldTypeDescription
idstringUnique task identifier for querying video status
statusstringCurrent task status (e.g., pending, processing, completed)
status_update_timeintegerTimestamp of the last status update
enhanced_promptstringThe enhanced prompt if enhance_prompt was enabled