Skip to main content
POST
/
api
/
run
curl -X POST https://api.artificialstudio.ai/api/run \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY" \
  -d '{
    "tool": "create-video",
    "input": {
      "model": "veo3-1-text-to-video",
      "prompt": "A cinematic close-up of rain falling on a car window at night"
    }
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "processing",
  "tool": "create-video",
  "createdAt": "2024-01-15T10:30:00.000Z"
}
Credits80 credits per second at 720p & 1080p, 120 credits per second at 4K
Toolcreate-video

Headers

NameTypeRequiredDescription
AuthorizationstringYesYour API key
Content-TypestringYesapplication/json

Body

ParameterTypeRequiredDescription
toolstringYescreate-video
input.modelstringYesveo3-1-text-to-video
input.promptstringYesText description of the video to generate
input.durationstringNoVideo duration in seconds. Options: 4, 6, 8 (default: 8)
input.aspect_ratiostringNoAspect ratio. Options: 16:9, 9:16 (default: 16:9)
input.resolutionstringNoVideo resolution. Options: 720p, 1080p, 4k (default: 720p)
curl -X POST https://api.artificialstudio.ai/api/run \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY" \
  -d '{
    "tool": "create-video",
    "input": {
      "model": "veo3-1-text-to-video",
      "prompt": "A cinematic close-up of rain falling on a car window at night"
    }
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "processing",
  "tool": "create-video",
  "createdAt": "2024-01-15T10:30:00.000Z"
}