Promoat.Partner API

Videos

Podcast videos

Two or three people talking to each other, each in their own voice, from a list of lines. Pick a podcast (a shot of the set, then each line on the person speaking) or one shared shot of everyone.

What it makes

You send the people (2 or 3) and the lines they say. We speak every line in its person's voice, join the lines with a short pause, and film the conversation. Two formats:

  • podcast (default): a picture of the set with everyone in it, plus one shot of each person. Every line is its own clip on the person saying it.
  • multi_person: one picture of everyone together, filmed in long takes, with the camera on the person speaking.
What you do not get

No captions and no edits afterwards: the edit endpoints answer 409 VIDEO_NOT_EDITABLE for a podcast video. The video is at most 59.5 s of speech. For one person talking to camera use a talking head.

Make a podcast video

POST/api/partner/v1/videos/podcast
FieldTypeDescription
castarray 2–3 requiredThe people, in order. Each has exactly one of character_id (one of your characters) or image_url (a public https photo of one person), a voice_id (your voices or a studio voice), and an optional name(≤40 characters; "Person 1" when blank). The same character twice is 400.
linesarray 2–24 required{ "speaker": 0, "text": "…" }, in the order they are said. speakeris the person's index in cast. Each line 1 to 400 characters, 2,000 in all, and at least two people must speak.
formatstringpodcast (default) or multi_person.
languagestringA language name or ISO code for the speech. Unknown values are detected instead, with a FIELD_IGNORED warning.
voice_settingsobjectThe same settings as on text-to-speech, for every line.
scene_promptstring ≤800The set: the room, the light, the mood. Optional.
scene_photosarray ≤3[{ "url": "https://…" }] or plain URL strings: things or places to put in the set. A cast photo sent here again is left out.
frame_idstringA set picture from POST /videos/podcast/set-image, made for the same cast. See Free helpers.
expected_creditsint ≥0Price lock: a higher quote is 409 QUOTE_MISMATCH, nothing reserved.
Request: two people, four lines
curl -X POST https://platform.promoat.ai/api/partner/v1/videos/podcast \
  -H "Authorization: Bearer $PROMOAT_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: shop-podcast-ep1" \
  -d '{
  "format": "podcast",
  "cast": [
    { "name": "Sara", "character_id": "CHARACTER_ID", "voice_id": "VOICE_ID_A" },
    { "name": "Omar", "image_url": "https://your-cdn.com/omar.jpg", "voice_id": "VOICE_ID_B" }
  ],
  "lines": [
    {
      "speaker": 0,
      "text": "Welcome back to the show. Today we talk about AI video for small shops."
    },
    {
      "speaker": 1,
      "text": "Thanks for having me. I make product videos every week with my phone."
    },
    {
      "speaker": 0,
      "text": "So what changed this year?"
    },
    {
      "speaker": 1,
      "text": "Now one photo and a script give me a whole video in minutes."
    }
  ],
  "scene_prompt": "A small podcast studio, warm lamps, two microphones on a wooden desk",
  "expected_credits": 119
}'
200 OK
{
  "workflow_id": "partner_pc_7c21…",
  "status": "queued",
  "credits_reserved": 119,
  "credits_quoted": 119,
  "job_type": "podcast_video",
  "format": "podcast",
  "estimated_seconds": 22.27,
  "price_table_version": "2026-11-11",
  "warnings": [],
  "duplicate": false
}

Poll GET /jobs/{workflow_id}/status until completed; the result has video_url, poster_url, asset_id and editable: false. The video is also in your assets with video_type podcast or multi_person.

Price it first

POST/api/partner/v1/videos/podcast/estimate

Same body and checks, free, nothing queued. The length is estimated from the lines; the call reserves this number. Characters and voices are not looked up here.

200 OK
{
  "credits_required": 119,
  "credits_balance": 900,
  "sufficient_credits": true,
  "format": "podcast",
  "estimated_seconds": 22.27,
  "billed_seconds": 26,
  "clip_count": 4,
  "job_type": "podcast_video",
  "price_table_version": "2026-11-11",
  "lines": [
    { "kind": "generation", "credits": 67, "quantity": 26, "unit": "output_second" },
    { "kind": "first_frame", "credits": 36 },
    { "kind": "transcription", "credits": 6 },
    { "kind": "tts", "credits": 10 }
  ],
  "warnings": []
}

Free helpers

Three endpoints get a podcast video ready. None of them charges credits.

  1. POST /videos/podcast/script with a title, a language and the cast writes the lines. Send them as lines with the same cast.
  2. POST /videos/podcast/voice-match with the cast picks a studio voice for each person. Use voice_id when it is set; otherwise add the voice with POST /voices { language, studio_voice }.
  3. POST /videos/podcast/set-image with the cast (and scene_prompt, scene_photos) starts the set picture while you check the lines. Poll GET /videos/podcast/set-image?frame_id=… and send the frame_id on POST /videos/podcast. A picture that is not ready, or was made for a different number of people, is not used; the video makes its own.

Limits per API key: 20 scripts, 40 voice matches and 6 set pictures an hour (429 RATE_LIMITED).

Pricing

The price is the clips filmed (by their length), the pictures (a podcast makes one of the set and one of each person, a multi_person one), the speech timing and the speech itself. The quote uses an estimate of how long the lines take to say. When the job has spoken them it charges the real length, never more than it reserved. A failed job is refunded.

The four lines aboveCredits
podcast119
multi_person86

Errors and limits

StatusWhen
400 INVALID_BODYA bad format, a cast of 1 or 4, a person with both or neither of character_id and image_url, no voice_id, the same character twice.
400 INVALID_SCRIPTFewer than 2 or more than 24 lines, a speaker not in the cast, one person speaking alone, over 2,000 characters.
400 EMPTY_LINE / LINE_TOO_LONGA line is blank or over 400 characters (the field names it).
400 INVALID_SCENE / INVALID_SCENE_PHOTOSscene_prompt over 800 characters, or more than 3 scene photos.
400 AUDIO_TOO_LONGThe lines would take more than 59.5 s to say. Nothing is reserved.
400 INVALID_URLA photo URL is not public https.
402 INSUFFICIENT_CREDITSNot enough credits. Nothing is reserved.
404 NOT_FOUNDA character_id or voice_id is not one of yours (the field names which).
409QUOTE_MISMATCH, or IDEMPOTENCY_KEY_REUSED (the same key with a different body).
429 TOO_MANY_ACTIVE_JOBSPodcast videos count toward the same limit as other videos.
503 TRY_AGAINPodcast videos are briefly unavailable. Nothing is charged.

Fields this endpoint does not read (captions, for example) are ignored with a FIELD_IGNORED warning. The Idempotency-Key works as on /videos, in its own namespace. A voice that can no longer speak fails the job with VOICE_UNAVAILABLE, refunded.

Try itPOST/api/partner/v1/videos/podcast/estimatefree
Add your API key in the sidebar to enable this.