Skip to main content
Agnes Video 2.5 is coming soon. This is a pre-release preview. The final model ID, parameter limits, and response fields are subject to the production release. Billing rules have been announced; see “Billing” below for the current promotional terms.
Agnes Video 2.5 uses an asynchronous video generation API. First call POST /v1/videos to create a task, then use the returned id with GET /agnesapi?video_id=<VIDEO_ID> to retrieve progress and results.

Model ID

agnes-video-2.5

Create Task

POST /v1/videos

Retrieve Task

GET /agnesapi?video_id=<VIDEO_ID>

Pricing

720P list price: $0.025 / second. The current promotion charges only for output video duration.

Core Capabilities

Text-to-video

Generate videos with subject motion, scene dynamics, and camera movement from a text prompt.

First and Last Frame Control

Constrain the composition and transition with a first frame, a last frame, or both.

Multimodal References

Use images, audio, and videos as content, style, rhythm, or motion references.

Video-to-video Reference

Continue or reinterpret motion, visual appearance, and timing from a reference video.

Audio-visual Coordination

Use audio or a video soundtrack as a reference to improve rhythm and audio-visual consistency.

Multiple Aspect Ratios

Generate landscape, portrait, square, and ultrawide video outputs.

Quickstart

1. Get an API Key

Create an API key in the Agnes AI platform. Store and use the key only on your server. Never expose it in frontend code or a public repository.

2. Set the Base URL

International Base URL:
The examples below use environment variables:

3. Create a Video Task

The id in the create response is the video task ID used for retrieval.

4. Retrieve the Result

Poll every 1–2 seconds until status becomes completed or failed. When the task is complete, use the returned url to play or download the video.

API Reference

Create a Video Task

Headers:

Common Request Parameters

Mode-specific Parameters

All media URLs must be publicly reachable by the Agnes AI service. Avoid URLs that require authentication, point to a private network, or expire before the task finishes.

Generation Mode Rules

keyframe attempts to preserve the input image as the actual first or last frame, making it suitable for start/end composition control. reference treats media as a content, style, motion, or rhythm reference and may recompose or retime the result.

Reference Video Objects

Each object in the videos array supports these fields: When require_audio is false, a reference video may omit audio. If it contains an audio track, the audio can also participate as a reference. When set to true, the source must contain an audio track or the request fails.

Request Examples

<Picture N>, <Audio N>, and <Video N> are numbered independently, starting from 1 in their respective arrays. For example, refer to the second item in images as <Picture 2>.

Create Response

Retrieve a Task

Completed response example:
Treat status and url as the source of truth. The URL is ready for delivery only when status is completed. In production, set a maximum polling duration and use backoff for network timeouts and 429 responses.

Python SDK Example

Pass mode, aspect_ratio, and media fields through extra_body; the SDK merges them into the top level of the request JSON.

Video Size and Aspect Ratio

size selects the output tier and currently accepts only "720P". Use aspect_ratio to select any supported 720P frame shape. WIDTHxHEIGHT and auto are not supported.

Parameter Restrictions

The following parameters and request patterns are not supported and return 400:
  • Passing reference videos through video_url, video_path, or video_reference; use videos[].url instead.
  • Passing media through input_reference or reference_url; use first_frame, last_frame, images, audios, or videos according to the selected mode.
  • Sending non-configurable fields such as width, height, fps, num_frames, quality, or num_inference_steps.
  • Passing a resolution such as 1280x720 directly in size, or any value other than "720P"; select the resolution through aspect_ratio.
  • Setting aspect_ratio to auto or a value outside the supported list.
  • Setting n to any value other than 1.
  • Using media fields that conflict with mode, or using reference without any reference media.

Error Handling

Failed task example:

Prompting Recommendations

For more consistent results, structure the prompt in this order:
  1. Subject and setting: Specify the people, objects, environment, and time.
  2. Action and change: Describe how the subject moves and how the scene evolves.
  3. Camera language: Specify push, pull, pan, tilt, tracking, fixed camera, or shot size.
  4. Visual style: Add lighting, color, material, realism, and atmosphere.
  5. Sound and rhythm: Describe ambient sound or action sounds, or reference an audio input.
  6. Consistency requirements: State which character, product, or composition details must remain unchanged.
In reference mode, explicitly name each media placeholder and its purpose, such as “Use <Picture 1> as the character reference and follow the rhythm of <Audio 1>.” This is more controllable than uploading media without explaining how it should be used.

Pre-launch Checklist

  • Use the model ID agnes-video-2.5.
  • Use https://apihub.agnes-ai.com/v1 as the Base URL.
  • Save the id returned by the create response.
  • Poll GET /agnesapi?video_id=<VIDEO_ID> until the status is completed or failed.
  • Keep all media URLs publicly accessible until the task completes.
  • Pass seconds as a string from "4""12" and set n to 1.
  • Set size to "720P" and use a supported aspect_ratio.
  • Never expose your API key in logs, client-side code, or public repositories.

Billing

Agnes Video 2.5 currently supports 720P output. This section lists only the 720P list price.

720P output video list price

Standard billing formula

The currently supported output resolution is 720P, so the formula uses the 720P list price of $0.025 / second.

Current promotional billing

During the promotion, only output video duration is charged. Input video duration and reference images are temporarily free:
This promotion is temporary. Its end date and the start of standard billing are subject to Agnes AI platform announcements.

Points billing

Points use the same metering structure as currency billing, but each points unit price differs from the corresponding currency amount:
During the promotion, points are also calculated only from output video duration. Input video duration and reference image count are temporarily excluded. Refer to the Agnes AI platform for the exact 720P points-per-second rate and excess-image points rate.

Billing example

Suppose you generate an 8-second 720P video using 3 seconds of input video and 7 reference images, calculated at the 720P list price of $0.025 / second:
All USD amounts in this example use the 720P list price.