Skip to main content
Glama

createVideoFromReferences

Generate a video from 1-5 reference images and a text prompt (references-to-video). Unlike createVideo, which animates a single source image, this composes a new scene that borrows characters, objects, and style from the reference images. Each image can be a URL or base64. The job result is the video URL and its actual duration in seconds. Choose the output shape with aspect_ratio ("default" lets the model decide). The chosen model and duration must be compatible (incompatible combinations return HTTP 400). Credits are charged only on success, based on the produced duration and never more than the duration you requested. Pass an optional request_id to tag the result so you can locate it later via GET /assets/videos/results. Related tools: createVideo for image-to-video, editVideo to modify a generated video. Requires an API key (user scope). Returns 202 with a job id immediately; poll getApiJob (pass wait: 30) until status is succeeded, then read its result field, which is exactly the response documented for this operation. Each account may have up to 50 generations queued or running at once; beyond that submissions return 429 (PENDING_JOBS_LIMIT) - wait for jobs to finish.

Credits: cost varies by model and duration (credits/sec): Eagle 1.5/s, Eagle with Audio 2/s, Forge Pixel 2/s (min 4); see this endpoint's full pricing table in the API docs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestBodyYesPayload for generating a video from 1-5 reference images and a text prompt.

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden — and it delivers. It discloses the asynchronous 202-with-job-id behavior, the polling pattern via getApiJob with wait:30, the success-only credit charge capped at requested duration, the 50-job concurrency limit with the 429 PENDING_JOBS_LIMIT error, the HTTP 400 for incompatible model/duration, and request_id idempotency. This is exceptional behavioral disclosure for an unannotated tool.

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?

The description is long but every segment earns its place: differentiation, parameter semantics, async flow, rate limit, and pricing. The core purpose is front-loaded, and the operational details appear in logical order. Minor redundancy exists with pricing info already present in the model parameter's schema description, but consolidation into one billing summary is arguably beneficial.

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 an async job-submission tool with no output schema and no annotations, the description is complete: it names the result shape (video URL and actual duration), the polling endpoint and wait value, the error conditions, the rate limit, authentication scope, and the exact location of the final result (the result field matching this operation's documented response). Nothing an agent needs to call it correctly 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 description coverage is 100%, so the baseline is 3. The description adds meaningful cross-parameter context: the model/duration compatibility constraint and its 400 error, the credit-per-second rates per model, and the request_id's dual role for result lookup via GET /assets/videos/results — value beyond the individual parameter descriptions.

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 description states a specific verb, resource, and scope: "Generate a video from 1-5 reference images and a text prompt (references-to-video)." It explicitly differentiates from the sibling createVideo by contrasting the input mode ("animates a single source image" vs "composes a new scene that borrows characters, objects, and style"), making tool selection unambiguous.

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?

The description names its alternatives explicitly and the decision condition: "Unlike createVideo, which animates a single source image..." and "Related tools: createVideo for image-to-video, editVideo to modify a generated video." It also explains the async workflow (submit, poll getApiJob, read result), giving the agent a complete usage pathway without inference.

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.

TDQS

A4/5.0
Disambiguation4/5

Most tools pair a clear action and asset type (create3DModel, editVideo, removeBackground), and overlapping pairs such as animateSprite vs transferMotion vs animateSpriteKeyframes are carefully differentiated by input mode. The main friction is listApiJobs vs listGenerations, which both return generation history from slightly different scopes.

Naming Consistency4/5

The set is overwhelmingly consistent camelCase verb+noun (create*, edit*, list*, animate*, cancel*), with only minor deviations like generatePose/generateWithStyle alongside createImage and the slightly awkward validateApiKeyEndpoint. There is no chaotic mixing of conventions.

Tool Count2/5

At 31 tools this exceeds the 25+ threshold for 'too many', even though the multimodal game-asset scope explains much of the breadth. Agents face a large selection surface with many generation variants across 3D, sprites, images, audio, and video.

Completeness4/5

Core workflows are covered: image-to-3D plus rigging and animation, sprite pose/rotation/animation/editing, image create/edit/style/background-removal, video create/edit/upscale, and audio SFX/ambiance/music/voice. Minor gaps remain, such as no image upscaler and no individual asset retrieval or deletion.