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": "seedance-2-text-to-video",
      "prompt": "A drone shot flying over a tropical beach at sunset"
    }
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "processing",
  "tool": "create-video",
  "createdAt": "2024-01-15T10:30:00.000Z"
}
Credits27 credits per second at 480p, 61 credits per second at 720p
Toolcreate-video

Headers

NameTypeRequiredDescription
AuthorizationstringYesYour API key
Content-TypestringYesapplication/json

Body

ParameterTypeRequiredDescription
toolstringYescreate-video
input.modelstringYesseedance-2-text-to-video
input.promptstringYesText description of the video to generate
input.durationstringNoVideo duration in seconds. Options: auto, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 (default: 5)
input.aspect_ratiostringNoAspect ratio. Options: 16:9, 9:16, 4:3, 3:4, 1:1, 21:9 (default: 16:9)
input.resolutionstringNoVideo resolution. Options: 480p, 720p (default: 480p)
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": "seedance-2-text-to-video",
      "prompt": "A drone shot flying over a tropical beach at sunset"
    }
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "processing",
  "tool": "create-video",
  "createdAt": "2024-01-15T10:30:00.000Z"
}