Moon-2 AC Series
The Moon-2 AC model is a stand-alone public video model. Use the full model value in the following table; do not extrapolate other models by suffixing the model. The current price amount is based on the price API and console, which only describes billing dimensions.
Model Matrix
| Model | resolution | duration | Enter media assets | billing-D | Details |
|---|---|---|---|---|---|
moon-2.0-ac-a-480p | 480P | 15 sec | Figure 1-9, maximum 3 video and 3 audio, total, maximum 15; at least 1 map | By Number | Details |
moon-2.0-ac-a-720p | 720P | 10 or 15 seconds | Up to 9 pictures; video and audio are not supported | By Number | Details |
moon-2.0-ac-b-720p-fast | 720P | 15 sec | Maximum 9 figures, 3 videos, 3 audio, total 15 | By Number | Details |
moon-2.0-ac-c-720p | 720P | 15 sec | Up to 9 pictures; video and audio are not supported | By Number | Details |
moon-2.0-ac-d-720p | 720P | 15 sec | Up to 9 pictures; video and audio are not supported | By Number | Details |
moon-2.5-ac-a-480p | 480P | 4-30 seconds | up to 30 pictures; video and audio are not supported | Press seconds | Details |
moon-2.5-ac-a-720p | 720P | 4-30 seconds | up to 30 pictures; video and audio are not supported | By Number | Details |
moon-2.5-ac-b-720p | 720P | 4-30 seconds | 30, 10, 10, 10 audio, 50, total | Press seconds | Details |
moon-2.5-ac-c-720p | 720P | 4-30 seconds, but does not support 5, 10, 15 seconds | 30, 10, 10, 10 audio, 50, total | By Number | Details |
Universal request engagement
Create tasks with POST /v1/videos and query with GET /v1/videos/{task_id} or GET /v1/tasks/{task_id}. Prefer references[], supplying media_type, role, url and optional alias. Follow each model's media, duration and billing limits; do not transfer one model's capabilities to another.
media assets URLs must be accessible anonymously and the type of media corresponds to the statement. The creation of response has been submitted only on behalf of task; the results must be read after status and error.
Description of parameters
| field | Type | Annotations |
|---|---|---|
model | string | You will fill in. Use the complete MoonNexAI public model ID in this page matrix. Do not spell the model name by a, b, c, d or resolution after the suffix. |
prompt | string | Video description. Whether to allow a pure text-to-video by-decision; moon-2.0-ac-a-480p, moon-2.0-ac-a-720p, moon-2.0-ac-c-720p, moon-2.0-ac-d-720p must provide a graphic reference. |
duration / seconds | integer / string | Target duration. Only the values listed in the matrix can be submitted; no other values are passed on for the fixed 15-second model. duration is recommended. |
ratio / aspect_ratio | string | Aspect ratio. Current AC models accept 16:9 or 9:16; if both fields are supplied, their values must agree. |
resolution | string | Output resolution, fill 480P or 720P, must match the selected model. |
references[] | array | The recommended flat media assets arrays. The entries use media_type, role, url and optional alias. |
references[].media_type | string | image, video or audio. Specific available types are limited by model matrix. |
references[].role | string | The picture is usually reference_image; the video is reference_video; the audio is reference_audio or background_music. Unsupported characters are rejected before creation. |
references[].url | string | An anonymous downloadable URL for the public media, or Asset://asset_xxx for the model. |
callback_url | string | Optional. HTTPS callback addresses after task is completed. |
watermark / seed | boolean / integer | Optional control field. Only if the current model list shows support; no other series of control field is brought directly into AC request. |
Type difference and rejection of boundary
| Model | Could submit | Uncertainly not to submit |
|---|---|---|
moon-2.0-ac-a-480p | 1-9 photos, up to 3 videos and 3 audio, for a total of up to 15; fixed 15 seconds, 480 P | plain text;first and last frames role;exceeding quantitative limit |
moon-2.0-ac-a-720p | 1-9 pictures; 10 or 15 seconds, 720 P | pure text; video; audio; other picture roles |
moon-2.0-ac-b-720p-fast | Plain text, or maximum 9 +3 Video + 3 Audio, total of 15; fixed 15 seconds, 720P | first and last frames role; exceeding maximum number |
moon-2.0-ac-c-720p | 1-9 pictures; fixed 15 seconds, 720P | pure text; video; audio; other picture roles |
moon-2.0-ac-d-720p | 1-9 pictures; fixed 15 seconds, 720P | pure text; video; audio; other picture roles |
moon-2.5-ac-a-480p | plain text or up to 30 pictures; 4-30 seconds, 480P | Videos; Audio; Other Photo Roles |
moon-2.5-ac-a-720p | plain text or up to 30 pictures; 4-30 seconds, 720P | Videos; Audio; Other Photo Roles |
moon-2.5-ac-b-720p | Plain text or maximum 30 + 10 Video + 10 Audio, total maximum 50; 4-30 seconds, 720 P | Unsupported role;over the quantitative ceiling |
moon-2.5-ac-c-720p | media assets type and number of the same as B; duration is 4-30 seconds but does not support 5, 10, 15 seconds | 5, 10, 15 seconds; non-supported role; exceeding quantitative ceiling |
Create Example
2.0 AC-A 480P: Picture + Video + Audio
curl https://moonnexai.com/v1/videos \
-H "Authorization: Bearer <MOONNEXAI_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "moon-2.0-ac-a-480p",
"prompt": "让 @主体 按照 @动作 的节奏运动,并使用 @音乐 作为背景音乐。",
"duration": 15,
"ratio": "16:9",
"resolution": "480P",
"references": [
{"media_type": "image", "role": "reference_image", "url": "https://example.com/subject.png", "alias": "主体"},
{"media_type": "video", "role": "reference_video", "url": "https://example.com/motion.mp4", "alias": "动作"},
{"media_type": "audio", "role": "reference_audio", "url": "https://example.com/music.mp3", "alias": "音乐"}
]
}'2.0 AC-B Fast: Pure text or hybrid reference
{
"model": "moon-2.0-ac-b-720p-fast",
"prompt": "生成一段棚拍产品广告,镜头缓慢推进。",
"duration": 15,
"ratio": "9:16",
"resolution": "720P"
}If media assets is used, only references[] is added to the same request model; this model accepts up to 9 pictures, 3 videos and 3 audio, for a total of not more than 15.
2.5 AC-A: Pure text or photo references
{
"model": "moon-2.5-ac-a-720p",
"prompt": "让 @产品 在干净的摄影棚中缓慢旋转。",
"duration": 8,
"ratio": "16:9",
"resolution": "720P",
"references": [
{
"media_type": "image",
"role": "reference_image",
"url": "https://example.com/product.png",
"alias": "产品"
}
]
}2.5 AC-B: Picture + Video + Audio
{
"model": "moon-2.5-ac-b-720p",
"prompt": "保持 @主体 的外观,参考 @动作 的运动节奏,并使用 @音乐 作为背景音乐。",
"duration": 8,
"ratio": "16:9",
"resolution": "720P",
"references": [
{"media_type": "image", "role": "reference_image", "url": "https://example.com/subject.png", "alias": "主体"},
{"media_type": "video", "role": "reference_video", "url": "https://example.com/motion.mp4", "alias": "动作"},
{"media_type": "audio", "role": "reference_audio", "url": "https://example.com/music.mp3", "alias": "音乐"}
]
}moon-2.5-ac-c-720p can reuse this request structure, but duration cannot use 5, 10 or 15; for example, change to 8.
Query and Download
Create response to only accept task. Save returned id or task_id, then polling:
curl https://moonnexai.com/v1/videos/{task_id} \
-H "Authorization: Bearer <MOONNEXAI_API_KEY>"Check status and error. Only when status=succeeded is the result URL read and download with the Unified Content Entry:
curl -L https://moonnexai.com/v1/videos/{task_id}/content \
-H "Authorization: Bearer <MOONNEXAI_API_KEY>" \
-o output.mp4