← Back to catalog

DreamActor M2

Live
videomotion

Animate a character image with the performance from a driving video.

Endpoint

POSThttps://brahmand-api.bulletshorts.co/v1/video/dreamactor-m2

Authenticate with the X-API-Key request header.

Pricing

24 credits / sec1 credit = ₹1. Billed on success: per second of output.

List price. Volume / bulk customers get a discounted rate — contact us for account pricing.

Parameters

NameTypeRequiredDescriptionDefault / options
image_urlstringrequiredCharacter image to animate.
video_urlstringrequiredDriving video supplying the performance.
promptstringoptionalOptional guiding prompt.
durationnumberoptionalClip length in seconds (1-30).
default: 5
aspect_ratiostringoptionalOutput aspect ratio.
default: 16:9

Request

curl
curl -X POST https://brahmand-api.bulletshorts.co/v1/video/dreamactor-m2 \
  -H "X-API-Key: $TRINETRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_url":"https://example.com/avatar.jpg","video_url":"https://example.com/perf.mp4","duration":5}'
request body (JSON)
{
  "image_url": "https://example.com/avatar.jpg",
  "video_url": "https://example.com/perf.mp4",
  "duration": 5
}

Response

Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.

202 Accepted
{
  "job_id": "job_dreamactorm2_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "id": "job_dreamactorm2_a1b2c3",
  "model": "dreamactor-m2",
  "status": "succeeded",
  "output": {
    "outputs": [
      {
        "url": "https://cdn.trinetra.ai/out/dreamactor-m2/a1b2c3.mp4",
        "type": "video"
      }
    ]
  },
  "credits_charged": 10
}

Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.