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": "animate-image",
    "input": {
      "model": "seedance-2-image-to-video",
      "image_url": "https://example.com/image.jpg",
      "prompt": "The character slowly turns their head and smiles"
    }
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "processing",
  "tool": "animate-image",
  "createdAt": "2024-01-15T10:30:00.000Z"
}
Credits27 credits per second at 480p, 61 credits per second at 720p
Toolanimate-image

Headers

NameTypeRequiredDescription
AuthorizationstringYesYour API key
Content-TypestringYesapplication/json

Body

ParameterTypeRequiredDescription
toolstringYesanimate-image
input.modelstringYesseedance-2-image-to-video
input.image_urlstringYesURL of the image to animate
input.promptstringYesDescribe how you want the image to animate
input.end_image_urlstringNoOptional end frame to interpolate towards
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: auto, 16:9, 9:16, 4:3, 3:4, 1:1, 21:9 (default: auto)
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": "animate-image",
    "input": {
      "model": "seedance-2-image-to-video",
      "image_url": "https://example.com/image.jpg",
      "prompt": "The character slowly turns their head and smiles"
    }
  }'
{
  "id": "507f1f77bcf86cd799439011",
  "status": "processing",
  "tool": "animate-image",
  "createdAt": "2024-01-15T10:30:00.000Z"
}