Skip to main content
Glama

Generate an AI image story video

generate_image_story
Destructive

CREATES an AI image story: a narrated script turned into a sequence of AI-generated images, read aloud with captions over it. YOU WRITE THE SCRIPT, AND ONLY THE SCRIPT: the text you send is the narration that is spoken, verbatim, in that order (get_recipe image-story has the writing advice and a worked example). Show it to the user as plain text first. PRICE IS DRIVEN BY THE IMAGE COUNT, not the words: estimate_only: true returns scene_count beside the money, so say the count and the price, and re-quote after changing seconds_per_image, image_model, voice_provider (the two voice services are priced differently) or style_id (get_recipe image-story has the levers). AFTER: this one call makes the finished video (the answer carries scene_count, the price split and renders_automatically: true; no fire or render step). Wait with wait_for_generation; when terminal get_video carries the file url. start_confirmed: false means the job exists: do not create it again, watch it (get_recipe image-story). LANGUAGE: a script not in language is TRANSLATED, so a quote is exact only for the script you sent; one over the language's character limit is refused, never cut. SPENDS TOKENS: price with estimate_only: true, state the price in the same message as your ask, wait for a go naming THIS purchase (SPENDING RULES: get_recipe spending-rules). idempotency_key: IDEMPOTENCY (this server's instructions).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "generate_image_story"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe narration script in plain prose: what the voice says, start to finish. No scene markers, image directions or speaker labels; aicut cuts it into scenes and writes every image itself.
voiceNoThe narrator's voice. The voice id, in the provider named by `voice_provider`; omit for that provider's default narrator. openai: alloy, ash, ballad, coral, echo, sage, shimmer, verse (`ash` reads deepest, `shimmer` and `sage` lighter; retired `onyx`, `nova`, `fable` still work, speaking as `ash`, `shimmer`, `alloy`). elevenlabs: an id from `list_voices` with `provider: 'elevenlabs'` (stock, cloned or custom voices; PAGED: pass `limit: 100` and read `has_more` before saying a voice does not exist). Any other id is refused uncharged. Cloned and custom ElevenLabs voices ARE accepted here and on `generate_fake_text_video`; `generate_audio` cannot.
languageNoThe language `text` is written in, by name; default English. Naming another language makes aicut translate the script, which changes its length and the price.
style_idNoAn authored look from `list_image_story_styles`. It forces the expensive edit-capable image model, so re-quote. Omit for aicut's default photorealistic look.
image_modelNoThe look of the images; default `zit-realism` (photoreal, cheapest). `zit-lora-*` and `zit-comic` are illustrated looks at the same price, `flux-klein*` cost more, `gpt-image-2.5` is the priciest: quote it before you pick it.
aspect_ratioNoDefaults to `9:16`, the vertical shape every short-form platform wants.
caption_styleNoHow the burned-in captions look; default `karaoke`; `none` turns them off.
estimate_onlyNoPrice only; creates nothing.
sound_effectsNoAn ambient sound effect per scene. Defaults to false, and it ADDS to the price by the video's length: quote it.
voice_providerNoWhich voice service reads the narration. `openai` (the default) or `elevenlabs`. The two voice services are priced differently, so call `estimate_only` again after changing it.
idempotency_keyNoRetry key (IDEMPOTENCY).
caption_positionNoWhere the captions sit; default `bottom`.
image_resolutionNoDefaults to `standard`. `high` selects the model's high-resolution price row (for some models both rows cost the same).
seconds_per_imageNoHow long each image stays on screen; default 3. THE MAIN PRICE LEVER: 5 buys roughly 40% fewer images than 3 for the same script, 2 buys 50% more.
transition_soundsNoA whoosh between scenes. Defaults to false; free.
transition_effectsNoA visual slide between scenes. Defaults to false; free.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Retry-safety key (IDEMPOTENCY)."New value: +"Retry key (IDEMPOTENCY)."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (destructiveHint true, openWorldHint true, idempotentHint false), the description discloses that the call spends tokens, that price is driven by image count rather than words, that non-matching languages are translated and over-limit scripts are refused uncharged, and that no separate fire/render step exists. The only gap is that it does not spell out what 'destructive' means here (e.g. whether an existing job can be overwritten), though the idempotency_key guidance partly covers retry safety.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the pricing/after-call/language/spending blocks are logically ordered, with no filler sentences. It is dense and heavily capitalized, which makes it longer and shoutier than strictly necessary, but each block carries distinct operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter, no-output-schema generation tool, the description covers the full lifecycle: quoting, confirmation, execution, waiting, retrieval, and the shape of the response (scene_count, price split, renders_automatically). Nothing an agent needs in order to call it correctly and safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on top: seconds_per_image is called out as the main price lever with concrete ratios, voice_provider is flagged as differently priced, style_id is noted to force the expensive edit-capable model, and sound_effects is noted to add cost. That is genuine decision-relevant semantics beyond the schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource — 'CREATES an AI image story: a narrated script turned into a sequence of AI-generated images, read aloud with captions' — which cleanly separates it from siblings like generate_story_video, generate_video and generate_fake_text_video. It also states the division of labor ('YOU WRITE THE SCRIPT, AND ONLY THE SCRIPT'), so an agent knows exactly what it supplies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing is provided: use estimate_only:true to price, wait with wait_for_generation, then get_video for the file url, and treat start_confirmed:false as an existing job rather than a reason to re-create. It also names the alternatives/recipes (get_recipe image-story, spending-rules) and the conditions that select them, plus the requirement to show the script to the user first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.