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": "kling-3-0-pro-text-to-video",
      "prompt": "A cinematic wide shot of a lone astronaut walking on Mars"
    }
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "processing",
  "tool": "create-video",
  "createdAt": "2024-01-15T10:30:00.000Z"
}
Credits34 credits per second
Toolcreate-video

Headers

NameTypeRequiredDescription
AuthorizationstringYesYour API key
Content-TypestringYesapplication/json

Body

ParameterTypeRequiredDescription
toolstringYescreate-video
input.modelstringYeskling-3-0-pro-text-to-video
input.promptstringYesText description of the video to generate
input.durationstringNoVideo duration in seconds. Options: 5, 10 (default: 5)
input.aspect_ratiostringNoAspect ratio. Options: 16:9, 9:16, 1:1 (default: 16:9)
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": "kling-3-0-pro-text-to-video",
      "prompt": "A cinematic wide shot of a lone astronaut walking on Mars"
    }
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "processing",
  "tool": "create-video",
  "createdAt": "2024-01-15T10:30:00.000Z"
}