# Cadence Cover Source: https://docs.goenhance.ai/api-reference/audio-generations/cadence-cover api-reference/audio-generations/openapi-cadence-cover.json POST /api/v1/audio/generations Cover an existing song: the lead melody of `audio_url` is kept, and your `lyrics` are sung over a new arrangement in the `style` you describe. - The song needs a clear lead vocal melody. To keep the original lyrics, paste them into `lyrics`. - The cover follows the length of the original song, which is also the billed length. - The cover stays in the key of the original: a style asking for a male voice over a song sung in a female range still sings in that range. **Pricing**: 0.02 tokens ($0.0004) per second of audio, rounded up to the whole second. | Option | Tokens | USD | |---|---|---| | Per second of audio | 0.02 | $0.0004 | **Result**: one `json` item `{ "type": "audio", "value": "https://...mp3" }` (a `.wav` link when `output_format` is `wav`), 48 kHz stereo. Result links expire (see `link_expired_at`). # Cadence Instrumental Source: https://docs.goenhance.ai/api-reference/audio-generations/cadence-instrumental api-reference/audio-generations/openapi-cadence-instrumental.json POST /api/v1/audio/generations Generate music without vocals from a `style` description. - The track is exactly `duration` seconds long (10 to 360) and fades out over the last 3 seconds. `duration` is the billed length. - Words describing vocals in `style` are ignored. Vocals are strongly suppressed but not guaranteed to be completely absent. - Generation takes about as long as the requested length. **Pricing**: 0.02 tokens ($0.0004) per second of audio, rounded up to the whole second. | Option | Tokens | USD | |---|---|---| | Per second of audio | 0.02 | $0.0004 | **Result**: one `json` item `{ "type": "audio", "value": "https://...mp3" }` (a `.wav` link when `output_format` is `wav`), 48 kHz stereo. Result links expire (see `link_expired_at`). # Cadence Song Source: https://docs.goenhance.ai/api-reference/audio-generations/cadence-song api-reference/audio-generations/openapi-cadence-song.json POST /api/v1/audio/generations Generate a full song, vocals and accompaniment together, from your `lyrics` and a `style` description. - `duration` sets the **maximum length** in seconds (10 to 360) and is the billed length. The song follows your lyrics: when they finish earlier, the song ends earlier. When the song reaches `duration`, it fades out over the last 3 seconds. - Longer lyrics need a longer `duration`; roughly 60 to 90 seconds per verse and chorus. - Generation takes about as long as the requested length. **Pricing**: 0.02 tokens ($0.0004) per second of audio, rounded up to the whole second. | Option | Tokens | USD | |---|---|---| | Per second of audio | 0.02 | $0.0004 | **Result**: one `json` item `{ "type": "audio", "value": "https://...mp3" }` (a `.wav` link when `output_format` is `wav`), 48 kHz stereo. Result links expire (see `link_expired_at`). # Cadence Voice Cover Source: https://docs.goenhance.ai/api-reference/audio-generations/cadence-voice-cover api-reference/audio-generations/openapi-cadence-voice-cover.json POST /api/v1/audio/generations Convert the vocals of a song to the voice in a short reference clip. The melody, lyrics and accompaniment stay the same: the lead vocal is separated, converted to the reference voice, and mixed back with the original accompaniment. - `reference_audio_url`: at least 3 seconds of one clear voice; 5 to 25 seconds of dry vocal (no music, little reverb) works best. Longer clips are cut to about 25 seconds at a pause. - `pitch_shift` moves only the vocal by whole semitones: use `-12` when a song sung by a female voice is converted to a male voice, `12` for the reverse. Shifts other than whole octaves may clash with the accompaniment. - The result is as long as the original song, which is also the billed length. - Only use voices you own or have permission to use. **Pricing**: 0.02 tokens ($0.0004) per second of audio, rounded up to the whole second. | Option | Tokens | USD | |---|---|---| | Per second of audio | 0.02 | $0.0004 | **Result**: one `json` item `{ "type": "audio", "value": "https://...mp3" }` (a `.wav` link when `output_format` is `wav`), 48 kHz stereo. Result links expire (see `link_expired_at`). # ElevenLabs v3 Source: https://docs.goenhance.ai/api-reference/audio-generations/elevenlabs-v3 api-reference/audio-generations/openapi-elevenlabs-v3.json POST /api/v1/audio/generations ElevenLabs text-to-speech. Turns text into natural speech and returns an mp3 URL. Supports a `speed` control. **Pricing** — billed by text length, not by audio duration: | Unit | Tokens | USD | |---|---|---| | every 200 characters (rounded up) | 2 | $0.04 | A 350-character request is billed as 2 units (4 tokens = $0.08). Anything from 1 to 200 characters costs 1 unit. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated audio. The result arrives as a `json` array item with `type: "audio"` and an mp3 URL in `value`. # Gemini 3.8 Flash-Lite TTS Source: https://docs.goenhance.ai/api-reference/audio-generations/gemini-3-8-flash-lite-tts api-reference/audio-generations/openapi-gemini-3-8-flash-lite-tts.json POST /api/v1/audio/generations Google's fast, cost-efficient text-to-speech for high-volume read-aloud and voice agents, with the same voices and style control as Flash TTS and 100+ languages (detected automatically). Turns text into speech and returns a **WAV** URL (24 kHz, mono). The `text` is read **verbatim** — put delivery directions such as tone or pace in `style`, not in the text, or they will be read aloud. Short vocal events and pauses can go inline in angle brackets, e.g. `Wait... did you hear that? `. **Pricing** — billed by text length, not by audio duration: | Unit | Tokens | USD | |---|---|---| | every 200 characters (rounded up) | 1.75 | $0.035 | A 350-character request is billed as 2 units (3.5 tokens = $0.07). Anything from 1 to 200 characters costs 1 unit. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated audio. The result arrives as a `json` array item with `type: "audio"` and a WAV URL in `value`. # Gemini 3.8 Flash TTS Source: https://docs.goenhance.ai/api-reference/audio-generations/gemini-3-8-flash-tts api-reference/audio-generations/openapi-gemini-3-8-flash-tts.json POST /api/v1/audio/generations Google's studio-grade text-to-speech: rich, expressive delivery, stable long-form narration, and 130+ languages (detected automatically). Turns text into speech and returns a **WAV** URL (24 kHz, mono). The `text` is read **verbatim** — put delivery directions such as tone or pace in `style`, not in the text, or they will be read aloud. Short vocal events and pauses can go inline in angle brackets, e.g. `Wait... did you hear that? `. **Pricing** — billed by text length, not by audio duration: | Unit | Tokens | USD | |---|---|---| | every 200 characters (rounded up) | 2.63 | $0.0526 | A 350-character request is billed as 2 units (5.26 tokens = $0.1052). Anything from 1 to 200 characters costs 1 unit. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated audio. The result arrives as a `json` array item with `type: "audio"` and a WAV URL in `value`. # MiniMax Music 3.0 Source: https://docs.goenhance.ai/api-reference/audio-generations/minimax-music-3-0 api-reference/audio-generations/openapi-minimax-music-3-0.json POST /api/v1/audio/generations Generate one full song (up to about 5 minutes) with MiniMax Music 3.0. - **With your lyrics**: send `lyrics` (and optionally a `prompt` for the style). - **Lyrics written for you**: send only a `prompt`. - **Instrumental**: `instrumental: true` plus a `prompt`. **Pricing** (per song): | Option | Tokens | USD | |---|---|---| | Per song (up to 5 min) | 9.75 | $0.195 | **Result**: one `json` item `{ "type": "audio", "value": "https://...mp3", "audio_duration": 125.36, "lyrics": "..." }` (`lyrics` only when you sent them). Result links expire (see `link_expired_at`). # MiniMax Speech 2.6 Source: https://docs.goenhance.ai/api-reference/audio-generations/minimax-speech-2-6 api-reference/audio-generations/openapi-minimax-speech-2-6.json POST /api/v1/audio/generations MiniMax text-to-speech. Turns text into natural speech and returns an mp3 URL. **Pricing** — billed by text length, not by audio duration: | Unit | Tokens | USD | |---|---|---| | every 200 characters (rounded up) | 2 | $0.04 | A 350-character request is billed as 2 units (4 tokens = $0.08). Anything from 1 to 200 characters costs 1 unit. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated audio. The result arrives as a `json` array item with `type: "audio"` and an mp3 URL in `value`. # Qwen3 TTS Source: https://docs.goenhance.ai/api-reference/audio-generations/qwen3-tts api-reference/audio-generations/openapi-qwen3-tts.json POST /api/v1/audio/generations Natural text-to-speech from Qwen with 9 preset voices — including Beijing and Sichuan dialect voices — and plain-language control over tone, emotion and pace through `style`. Speaks Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish and Italian. Returns an **mp3** (default) or **WAV** URL (24 kHz, mono). Every voice can speak every supported language; each sounds most natural in its native language: | Voice | Character | Native language | |---|---|---| | `Vivian` | bright young female voice with a slight edge | Chinese | | `Serena` | warm, gentle young female voice | Chinese | | `Uncle_Fu` | seasoned male voice with a low, mellow timbre | Chinese | | `Dylan` | youthful male voice with a Beijing accent | Chinese (Beijing dialect) | | `Eric` | lively, slightly husky male voice with a Sichuan accent | Chinese (Sichuan dialect) | | `Ryan` | dynamic male voice with strong rhythm | English | | `Aiden` | sunny American male voice | English | | `Ono_Anna` | playful, light female voice | Japanese | | `Sohee` | warm female voice with rich emotion | Korean | **Pricing** — billed by text length, not by audio duration: | Unit | Tokens | USD | |---|---|---| | every 200 characters (rounded up) | 1 | $0.02 | A 350-character request is billed as 2 units (2 tokens = $0.04). Anything from 1 to 200 characters costs 1 unit. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated audio. The result arrives as a `json` array item with `type: "audio"` and the audio URL in `value`. If generation fails, the task ends as `failed` and the tokens are refunded automatically. # Qwen3 TTS Voice Clone Source: https://docs.goenhance.ai/api-reference/audio-generations/qwen3-tts-voice-clone api-reference/audio-generations/openapi-qwen3-tts-voice-clone.json POST /api/v1/audio/generations Clone a voice from a short recording and have it read any text. The reference and the text don't need to share a language — an English recording can read Chinese, and vice versa. Speaks Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish and Italian. Returns an **mp3** (default) or **WAV** URL (24 kHz, mono). There is no enrollment step and no voice ID to manage: send the reference recording with each request. **For the best clone**, use 5–20 seconds of clear speech from a single speaker, without background music or noise — whatever is in the recording (other voices, music, room echo) tends to carry over. The pace follows the reference, so there is no `speed` parameter. **Pricing** — billed by text length, not by audio duration: | Unit | Tokens | USD | |---|---|---| | every 200 characters (rounded up) | 1 | $0.02 | A 350-character request is billed as 2 units (2 tokens = $0.04). Anything from 1 to 200 characters costs 1 unit. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated audio. The result arrives as a `json` array item with `type: "audio"` and the audio URL in `value`. If generation fails, the task ends as `failed` and the tokens are refunded automatically. # Qwen3 TTS Voice Design Source: https://docs.goenhance.ai/api-reference/audio-generations/qwen3-tts-voice-design api-reference/audio-generations/openapi-qwen3-tts-voice-design.json POST /api/v1/audio/generations Describe the voice you want in plain words — gender, age, timbre, tone, pace — and Qwen3 TTS Voice Design creates that voice and reads your text with it. Long texts keep the same voice from the first sentence to the last. Speaks Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish and Italian. Returns an **mp3** (default) or **WAV** URL (24 kHz, mono). Each request designs a new voice, so the same description can sound slightly different from one request to the next. To reuse one voice across many requests, generate a short sample here and pass it to `qwen3-tts-voice-clone` as `reference_audio_url`, with the sample's text as `reference_text`. **Pricing** — billed by text length, not by audio duration: | Unit | Tokens | USD | |---|---|---| | every 200 characters (rounded up) | 1 | $0.02 | A 350-character request is billed as 2 units (2 tokens = $0.04). Anything from 1 to 200 characters costs 1 unit. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated audio. The result arrives as a `json` array item with `type: "audio"` and the audio URL in `value`. If generation fails, the task ends as `failed` and the tokens are refunded automatically. # Suno Add Instrumental Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-add-instrumental api-reference/audio-generations/openapi-suno-add-instrumental.json POST /api/v1/audio/generations Add a full backing track to a vocal-only recording (a cappella, humming, singing). Each request returns **2 versions**. **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per request (2 versions) | 3.9 | $0.078 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) for the result. On success, `json` holds **one item per song** (normally 2): ```json { "type": "audio", "value": "https://cdn4.goenhance.ai/source2/.../output.mp3", "audio_id": "e231a3f0-...", "title": "Rainy Night", "audio_duration": 187.4, "style": "lofi hip hop, mellow piano", "lyrics": "[Verse] ..." } ``` Keep the task's `img_uuid` and each song's `audio_id`: that pair is how you extend the song, export WAV, make a music video, split stems or get timestamped lyrics later. Result links expire (see `link_expired_at`), so download the files you want to keep. # Suno Add Vocals Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-add-vocals api-reference/audio-generations/openapi-suno-add-vocals.json POST /api/v1/audio/generations Add sung vocals to an instrumental track. Each request returns **2 versions**. **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per request (2 versions) | 3.9 | $0.078 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) for the result. On success, `json` holds **one item per song** (normally 2): ```json { "type": "audio", "value": "https://cdn4.goenhance.ai/source2/.../output.mp3", "audio_id": "e231a3f0-...", "title": "Rainy Night", "audio_duration": 187.4, "style": "lofi hip hop, mellow piano", "lyrics": "[Verse] ..." } ``` Keep the task's `img_uuid` and each song's `audio_id`: that pair is how you extend the song, export WAV, make a music video, split stems or get timestamped lyrics later. Result links expire (see `link_expired_at`), so download the files you want to keep. # Suno Cover Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-cover api-reference/audio-generations/openapi-suno-cover.json POST /api/v1/audio/generations Re-create an uploaded song in a new style while keeping its melody (cover / remix). Each request returns **2 versions**. `style_weight`, `weirdness_constraint` and `audio_weight` control how far the result moves from the original. This re-performs the song in a new arrangement; it does not clone a specific person's voice. **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per request (2 versions) | 3.9 | $0.078 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) for the result. On success, `json` holds **one item per song** (normally 2): ```json { "type": "audio", "value": "https://cdn4.goenhance.ai/source2/.../output.mp3", "audio_id": "e231a3f0-...", "title": "Rainy Night", "audio_duration": 187.4, "style": "lofi hip hop, mellow piano", "lyrics": "[Verse] ..." } ``` Keep the task's `img_uuid` and each song's `audio_id`: that pair is how you extend the song, export WAV, make a music video, split stems or get timestamped lyrics later. Result links expire (see `link_expired_at`), so download the files you want to keep. # Suno Extend Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-extend api-reference/audio-generations/openapi-suno-extend.json POST /api/v1/audio/generations Continue a song from a chosen point. Each request returns **2 versions**. Pick exactly one source: - `task_id` + `audio_id`: one of your earlier Suno songs - `audio_url`: your own audio file (up to 8 minutes) **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per request (2 versions) | 3.9 | $0.078 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) for the result. On success, `json` holds **one item per song** (normally 2): ```json { "type": "audio", "value": "https://cdn4.goenhance.ai/source2/.../output.mp3", "audio_id": "e231a3f0-...", "title": "Rainy Night", "audio_duration": 187.4, "style": "lofi hip hop, mellow piano", "lyrics": "[Verse] ..." } ``` Keep the task's `img_uuid` and each song's `audio_id`: that pair is how you extend the song, export WAV, make a music video, split stems or get timestamped lyrics later. Result links expire (see `link_expired_at`), so download the files you want to keep. # Suno Lyrics Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-lyrics api-reference/audio-generations/openapi-suno-lyrics.json POST /api/v1/audio/generations Write song lyrics with `[Verse]` / `[Chorus]` markers from a short description. Usually returns 2 to 3 variations; pass one to `suno-v6` in custom mode as `lyrics`. **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per request | 0.13 | $0.0026 | **Result**: `json` holds one item per variation: `{ "type": "json", "value": { "title": "Starry Night Dreams", "text": "[Verse]\n..." } }`. # Suno Mashup Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-mashup api-reference/audio-generations/openapi-suno-mashup.json POST /api/v1/audio/generations Blend two audio tracks into one new song. Each request returns **2 versions**. **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per request (2 versions) | 3.9 | $0.078 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) for the result. On success, `json` holds **one item per song** (normally 2): ```json { "type": "audio", "value": "https://cdn4.goenhance.ai/source2/.../output.mp3", "audio_id": "e231a3f0-...", "title": "Rainy Night", "audio_duration": 187.4, "style": "lofi hip hop, mellow piano", "lyrics": "[Verse] ..." } ``` Keep the task's `img_uuid` and each song's `audio_id`: that pair is how you extend the song, export WAV, make a music video, split stems or get timestamped lyrics later. Result links expire (see `link_expired_at`), so download the files you want to keep. # Suno MIDI Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-midi api-reference/audio-generations/openapi-suno-midi.json POST /api/v1/audio/generations Transcribe separated stems into MIDI. Run `suno-stem-split` first, then pass its `img_uuid` as `task_id`; add `audio_id` to transcribe a single stem. **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per request | 0.1 | $0.002 | **Result**: `json` holds two items: - `{ "type": "midi", "value": "https://...mid" }` — a Standard MIDI File (one track per instrument, 120 BPM so note times match the audio, drums on channel 10) - `{ "type": "json", "value": { "instruments": [{ "name": "Electric Bass (finger)", "notes": [{ "pitch": 44, "start": 7.69, "end": 7.91, "velocity": 1 }] }] } }` — the raw note data (times in seconds, velocity 0 to 1) Works best on clean stems such as AI-generated songs; not every instrument may be detected. Result links expire (see `link_expired_at`). # Suno Music Video Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-music-video api-reference/audio-generations/openapi-suno-music-video.json POST /api/v1/audio/generations Turn one of your Suno songs into an MP4 with animated visuals (music visualizer), ready to post. Only songs generated through GoEnhance can be referenced (by `task_id` + `audio_id`). **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per track | 0.65 | $0.013 | **Result**: one `json` item `{ "type": "video", "value": "https://...mp4" }`. Result links expire (see `link_expired_at`). # Suno Music Overview Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-overview Generate songs with Suno V6, then extend, edit, split and export them. All Suno models use the same endpoint, `POST /api/v1/audio/generations`, and are selected with `model`. Like other GoEnhance tasks they are asynchronous: the response gives an `img_uuid`, and you poll `GET /api/v1/jobs/detail` or receive `custom_callback_url` notifications. ## Typical workflow 1. **Write lyrics** (optional) with `suno-lyrics`, or bring your own. 2. **Generate** with `suno-v6`. Each request returns 2 songs, each with an `audio_id`. 3. **Work on a song** by sending the task's `img_uuid` as `task_id` together with the song's `audio_id`: * `suno-extend` to continue it * `suno-replace-section` to rewrite part of it * `suno-stem-split` to split it into stems, then `suno-midi` (with the stem split's `img_uuid`) to transcribe the stems into MIDI * `suno-wav` to export WAV * `suno-music-video` to make a visualizer video * `suno-timestamped-lyrics` for karaoke timings 4. **Start from your own audio** with `suno-cover`, `suno-add-vocals`, `suno-add-instrumental`, `suno-mashup`, and the `audio_url` option of `suno-extend`, `suno-replace-section` and `suno-stem-split`. You can only reference your own successful tasks. The `task_id` + `audio_id` pair must come from the same result. ## Pricing All Suno models are billed per request, whatever the `variant`, length or number of songs returned. | Model | Tokens | USD | | - | - | - | | `suno-v6` | 5 | \$0.10 | | `suno-extend` | 3.9 | \$0.078 | | `suno-cover` | 3.9 | \$0.078 | | `suno-add-vocals` | 3.9 | \$0.078 | | `suno-add-instrumental` | 3.9 | \$0.078 | | `suno-mashup` | 3.9 | \$0.078 | | `suno-replace-section` | 1.63 | \$0.0326 | | `suno-stem-split` · vocals | 3.25 | \$0.065 | | `suno-stem-split` · single | 6.5 | \$0.130 | | `suno-stem-split` · stems | 16.25 | \$0.325 | | `suno-music-video` | 0.65 | \$0.013 | | `suno-timestamped-lyrics` | 0.16 | \$0.0032 | | `suno-wav` | 0.13 | \$0.0026 | | `suno-lyrics` | 0.13 | \$0.0026 | | `suno-midi` | 0.1 | \$0.002 | Tokens are refunded automatically if a task fails. ## Variants `suno-v6` and the models that create songs accept `variant`: | `variant` | Model | Character | | - | - | - | | `standard` (default) | Suno V6 | Natural vocals, rich detail | | `mini` | Suno V6 Mini | Lighter and faster | | `wild` | Suno V6 Wild | Bolder, more experimental | ## Keep your files Result links expire (see `link_expired_at` in each result item). Download the files you want to keep. # Suno Replace Section Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-replace-section api-reference/audio-generations/openapi-suno-replace-section.json POST /api/v1/audio/generations Rewrite one section of a song with new lyrics or a new style; the new part is blended into what comes before and after. Each request returns **2 versions**. Pick exactly one source: `task_id` + `audio_id` (one of your Suno songs) or `audio_url` (your own song). The section must be at least 10 seconds and at most 50% of the song. `variant` is not accepted: the section follows the source. **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per request (2 versions) | 1.63 | $0.0326 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) for the result. On success, `json` holds **one item per song** (normally 2): ```json { "type": "audio", "value": "https://cdn4.goenhance.ai/source2/.../output.mp3", "audio_id": "e231a3f0-...", "title": "Rainy Night", "audio_duration": 187.4, "style": "lofi hip hop, mellow piano", "lyrics": "[Verse] ..." } ``` Keep the task's `img_uuid` and each song's `audio_id`: that pair is how you extend the song, export WAV, make a music video, split stems or get timestamped lyrics later. Result links expire (see `link_expired_at`), so download the files you want to keep. # Suno Stem Split Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-stem-split api-reference/audio-generations/openapi-suno-stem-split.json POST /api/v1/audio/generations Separate a song into stems. Pick exactly one source: `task_id` + `audio_id` (one of your Suno songs) or `audio_url` (any audio, up to 20 MB). Works best on clean mixes such as AI-generated songs. **Pricing** (per request, by `mode`): | Option | Tokens | USD | |---|---|---| | vocals · 2 stems | 3.25 | $0.065 | | single · 1 instrument | 6.5 | $0.130 | | stems · up to 12 stems | 16.25 | $0.325 | Separating the same audio again is charged again, so keep the results. **Result**: `json` holds one item per stem, e.g. `{ "type": "audio", "value": "https://...mp3", "stem": "vocal", "audio_id": "3d7021c9-..." }`. Pass this task's `img_uuid` to `suno-midi` (optionally with one stem's `audio_id`) to get MIDI. `stem` is one of `vocal`, `instrumental`, `backing_vocals`, `drums`, `bass`, `guitar`, `keyboard`, `strings`, `brass`, `woodwinds`, `percussion`, `synth`, `fx`. Stems the song doesn't contain are not returned. Result links expire (see `link_expired_at`). # Suno Timestamped Lyrics Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-timestamped-lyrics api-reference/audio-generations/openapi-suno-timestamped-lyrics.json POST /api/v1/audio/generations Get word-level lyric timings and waveform data for one of your Suno songs, for karaoke subtitles or lyric videos. Only songs generated through GoEnhance can be referenced (by `task_id` + `audio_id`); instrumental songs have no lyrics and fail. **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per track | 0.16 | $0.0032 | **Result**: one `json` item with `type: "json"`: ```json { "type": "json", "value": { "aligned_words": [{ "word": "[Verse]\nOn", "start_s": 1.36, "end_s": 1.79 }], "waveform_data": [0, 0.5, 0.75] } } ``` # Suno V6 Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-v6 api-reference/audio-generations/openapi-suno-v6.json POST /api/v1/audio/generations Generate full songs with Suno V6. Each request returns **2 songs**. - **Simple mode** (`custom_mode: false`, default): describe what you want in `prompt`; the model writes the lyrics. You can also attach reference images, a video or audio (photo to music). - **Custom mode** (`custom_mode: true`): send your own `title`, `lyrics` and `style`, and optionally `duration`, `negative_tags` and the fine-tuning parameters. Parameters that belong to the other mode are rejected rather than silently ignored. **Pricing** (per request, regardless of `variant`, length or mode): | Option | Tokens | USD | |---|---|---| | Per request (2 songs) | 5 | $0.10 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) for the result. On success, `json` holds **one item per song** (normally 2): ```json { "type": "audio", "value": "https://cdn4.goenhance.ai/source2/.../output.mp3", "audio_id": "e231a3f0-...", "title": "Rainy Night", "audio_duration": 187.4, "style": "lofi hip hop, mellow piano", "lyrics": "[Verse] ..." } ``` Keep the task's `img_uuid` and each song's `audio_id`: that pair is how you extend the song, export WAV, make a music video, split stems or get timestamped lyrics later. Result links expire (see `link_expired_at`), so download the files you want to keep. # Suno WAV Export Source: https://docs.goenhance.ai/api-reference/audio-generations/suno-wav api-reference/audio-generations/openapi-suno-wav.json POST /api/v1/audio/generations Export one of your Suno songs as lossless WAV. Only songs generated through GoEnhance can be referenced (by `task_id` + `audio_id`). **Pricing** (per request): | Option | Tokens | USD | |---|---|---| | Per track | 0.13 | $0.0026 | **Result**: one `json` item `{ "type": "audio", "value": "https://...wav" }`. Result links expire (see `link_expired_at`). # Vocal Remover Source: https://docs.goenhance.ai/api-reference/audio-generations/vocal-remover api-reference/audio-generations/openapi-vocal-remover.json POST /api/v1/audio/generations Separate any audio into two tracks: the **vocals** and everything else (the **instrumental**: music, beats and sound effects). Works on songs, podcasts, voice-overs over background music, and videos with sound (the first audio track is used). - One request always returns both tracks. - The billed length is the length of `audio_url`, measured before the task is accepted. **Pricing** - 0.5 tokens (USD 0.01) per minute of source audio, rounded up to a whole minute. - Minimum charge: 5 tokens (USD 0.10) per request, before account discounts. - The minimum includes the minute charges; it is not an additional fee. Both tracks are included, and mp3 and wav cost the same. - Standard tokens = `max(5, 0.5 × ceil(audio_seconds / 60))`. Any account discount is applied afterward. | Audio length | Tokens | USD | |---|---|---| | 1 second–10 minutes | 5 | USD 0.10 | | More than 10 minutes, up to 11 minutes | 5.5 | USD 0.11 | | 15 minutes | 7.5 | USD 0.15 | | 20 minutes (maximum) | 10 | USD 0.20 | A 61-second file is billed as 2 minutes, and the minimum charge makes the standard total 5 tokens (USD 0.10). A 601-second file is billed as 11 minutes for 5.5 tokens (USD 0.11). **Result**: two `json` items, vocals first: ```json [ { "type": "audio", "name": "vocals", "value": "https://...mp3" }, { "type": "audio", "name": "instrumental", "value": "https://...mp3" } ] ``` Both are 44.1 kHz with the same number of channels as the source (a mono file gives mono tracks), and `.wav` links when `output_format` is `wav`. Result links expire (see `link_expired_at`). ## Price calculator Estimate the standard price from your source audio duration. The minimum charge includes the per-minute charges; it is not an extra fee. Audio duration in seconds Enter 1–1,200 seconds. Each started minute counts as a full minute. Example audio durations Both output tracks are included. MP3 and WAV have the same price. This estimate uses your entered duration and standard prices before account discounts. The API measures the source before accepting the request. ### Get your account's price For an estimate that includes your account discount, call the pricing endpoint with the duration in seconds. This request is free and does not create a generation task. ```bash theme={null} curl --request POST \ --url https://api.goenhance.ai/api/v1/pricing/quote \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "model": "vocal-remover", "payload": { "duration": 601 } }' ``` At standard rates, this estimate returns `baseTokens: 5.5`, `tokens: 5.5` and `usd: 0.11`. The `tokens` and `usd` values reflect any discount active on your account. # Get User Credits Source: https://docs.goenhance.ai/api-reference/credits/tokens GET /api/v1/user/tokens Retrieve the current credit balance for your GoEnhance API account. ## Overview The Get User Credits API allows you to check your current credit balance. Credits are used for all API operations on the GoEnhance platform, with different operations consuming varying amounts of credits based on their complexity and resource requirements. ## Response The API returns your current credit balance in the `data.count` field. This balance represents the number of credits available for use with GoEnhance API services. ## Usage Examples This endpoint is useful for: * Checking available credits before performing operations * Monitoring credit usage in your application * Implementing credit-based limits or notifications * Automating credit management workflows For information about credit consumption rates for specific operations, please refer to our [API Pricing](https://platform.goenhance.ai/billing) page. # Head Swap API Source: https://docs.goenhance.ai/api-reference/face-swap/head-swap api-reference/face-swap/openapi-head-swap.json POST /api/v1/head-swap Swap a head between two photos with the GoEnhance Head Swap API. Keeps the pose and framing of the reference image, no prompt required. # Image Face Swap API Source: https://docs.goenhance.ai/api-reference/face-swap/image-generate POST /api/v1/imagefaceswap/generate Instantly swap faces in images with our advanced AI technology. Create high-quality transformations for content creation with GoEnhanceAI's powerful face swap API. # Task Status API Source: https://docs.goenhance.ai/api-reference/face-swap/task-status GET /api/v1/jobs/detail Check the status of a face swap task. # Video Face Swap API Source: https://docs.goenhance.ai/api-reference/face-swap/video-generate POST /api/v1/videofaceswap/generate Transform videos with cinematic-quality face swaps using our advanced AI technology. Integrate seamless face replacement for professional content creation applications. # Anime Illustration Source: https://docs.goenhance.ai/api-reference/image-api/anime-illustration api-reference/image-api/openapi-anime-illustration.json POST /api/v1/images/generations SDXL-based anime illustration model tuned for painterly scenes and detailed key art. **Pricing:** 0.2 tokens per image (= $0.004). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Anime Waifu Source: https://docs.goenhance.ai/api-reference/image-api/anime-waifu api-reference/image-api/openapi-anime-waifu.json POST /api/v1/images/generations SDXL-based anime character model for stylised waifu portraits and full-body illustrations. **Pricing:** 0.2 tokens per image (= $0.004). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Background Remover Source: https://docs.goenhance.ai/api-reference/image-api/background-remover api-reference/image-api/openapi-background-remover.json POST /api/v1/images/generations Remove the background from an image and get a cutout PNG at the original size. Soft edges such as hair and fur keep their partial transparency, and the old background colour is cleaned out of those edges, so the cutout does not show a halo when you place it on a new background. **Pricing:** 0.5 tokens per image (= $0.01), regardless of image size or `image_type`. **Choosing `image_type`:** - `general` (default): photos of people, products, animals and objects. - `anime`: anime characters and illustrations. Do not use it for real photos: it is tuned for artwork and breaks hair into fragments on photographs. **Input and output:** - `image_url` must be an `https://` link that is publicly reachable, at most 50 MB and at most 36 megapixels. - The output is always a PNG with the same width and height as the input. Without `background_color` the background is transparent; with `background_color` the subject is placed on that solid colour. - The model keeps the most prominent subject. With `anime`, items the character holds and props next to it are usually kept as part of the subject. - Transparent or see-through objects (glass, smoke, water) are the hardest case and may come out incomplete. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the cutout. # FLUX.2 klein 9B Source: https://docs.goenhance.ai/api-reference/image-api/flux-2-9b api-reference/image-api/openapi-flux-2-9b.json POST /api/v1/images/generations FLUX.2 klein 9B text-to-image and image-to-image. Pass `image_list` to edit reference images, or omit it for pure text-to-image. **Pricing:** 0.4 tokens per image (= $0.008). Text-to-image and image-to-image are priced the same. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # GPT Image 2 API Source: https://docs.goenhance.ai/api-reference/image-api/gpt-image-2 api-reference/image-api/openapi-gpt-image-2.json POST /api/v1/images/generations **Pricing** — per image, in tokens (USD at $0.02/token). Output token usage grows with both quality and resolution: | quality | 1k | 2k | 4k | |---|---|---|---| | low | 0.32 ($0.0064) | 0.64 ($0.0128) | 1.07 ($0.0214) | | medium | 2.84 ($0.0568) | 5.78 ($0.1156) | 9.61 ($0.1922) | | high | 11.38 ($0.2276) | 23.12 ($0.4624) | 38.42 ($0.7684) | Set `background` to `transparent` to get a cut-out subject on a transparent background (PNG with alpha channel), at no extra cost. This is a preview capability, so results can be inconsistent - prompts describing a single isolated subject work best. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # GPT Image 2.5 Flare Source: https://docs.goenhance.ai/api-reference/image-api/gpt-image-2-5-flare api-reference/image-api/openapi-gpt-image-2-5-flare.json POST /api/v1/images/generations GPT Image 2.5 tuned for speed — for high-quality everyday batch generation. Text-to-image, or pass `image_list` to edit reference images. **Pricing** — per image, in tokens (USD at $0.02/token). Output token usage grows with both quality and resolution: | quality | 1k | 2k | 4k | |---|---|---|---| | low | 0.32 ($0.0064) | 0.64 ($0.0128) | 1.07 ($0.0214) | | medium | 0.71 ($0.0142) | 1.45 ($0.0290) | 2.4 ($0.0480) | | high | 2.84 ($0.0568) | 5.78 ($0.1156) | 9.61 ($0.1922) | | xhigh | 5.06 ($0.1012) | 10.28 ($0.2056) | 17.08 ($0.3416) | | max | 11.38 ($0.2276) | 23.12 ($0.4624) | 38.42 ($0.7684) | Set `background` to `transparent` to keep the alpha channel (PNG cut-out), at no extra cost. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # GPT Image 2.5 Sunburst Source: https://docs.goenhance.ai/api-reference/image-api/gpt-image-2-5-sunburst api-reference/image-api/openapi-gpt-image-2-5-sunburst.json POST /api/v1/images/generations GPT Image 2.5 tuned for editing precision — for workflows where edit fidelity matters most. Text-to-image, or pass `image_list` to edit reference images. **Pricing** — per image, in tokens (USD at $0.02/token). Output token usage grows with both quality and resolution: | quality | 1k | 2k | 4k | |---|---|---|---| | low | 0.32 ($0.0064) | 0.64 ($0.0128) | 1.07 ($0.0214) | | medium | 0.71 ($0.0142) | 1.45 ($0.0290) | 2.4 ($0.0480) | | high | 2.84 ($0.0568) | 5.78 ($0.1156) | 9.61 ($0.1922) | | xhigh | 5.06 ($0.1012) | 10.28 ($0.2056) | 17.08 ($0.3416) | | max | 11.38 ($0.2276) | 23.12 ($0.4624) | 38.42 ($0.7684) | Set `background` to `transparent` to keep the alpha channel (PNG cut-out), at no extra cost. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # GPT Image 2.6 Flare Source: https://docs.goenhance.ai/api-reference/image-api/gpt-image-2-6-flare api-reference/image-api/openapi-gpt-image-2-6-flare.json POST /api/v1/images/generations GPT Image 2.6 Flare: speed-oriented generation. Generate one PNG or animated GIF, or edit up to 16 reference images. Defaults: low quality, 1K, opaque background, high complexity. ## Pricing The following prices include one output image and up to 1,024 UTF-8 bytes of prompt text, with no reference images. Prices are in platform tokens (USD shown in parentheses). All aspect ratios use the same tier price. | Quality | 1K | 2K | 4K | |---|---|---|---| | low | 1.92 ($0.0384) | 3.54 ($0.0708) | 5.65 ($0.1130) | | medium | 3.12 ($0.0624) | 5.99 ($0.1198) | 9.73 ($0.1946) | | high | 3.71 ($0.0742) | 7.19 ($0.1438) | 11.72 ($0.2344) | | xhigh | 6.33 ($0.1266) | 12.51 ($0.2502) | 20.58 ($0.4116) | | max | 13.82 ($0.2764) | 27.74 ($0.5548) | 45.88 ($0.9176) | - Each additional started 1,024 bytes of trimmed UTF-8 prompt text adds 0.33 tokens ($0.0066). - Each reference image adds 2.1 tokens ($0.042) per started 1,048,576 pixels. Round each image up separately, then sum. - Example: low / 1K, a short prompt and one 1024×1024 reference costs 4.02 tokens ($0.0804). These are fixed prepaid input and output tariffs, not metered model-token settlement. Use POST /api/v1/pricing/quote with the same prompt and image_list for a quote; image dimensions are checked before charging. Group discounts, if any, apply to the total. Failed jobs refund their charge. Transparency and complexity do not add a charge. This endpoint supports one PNG per request; auto quality, multiple outputs, custom pixel sizes for still images, SVG, masks and markup are not supported. **Animated GIF (text-to-image only).** Set `output_format` to `gif`. `frame_count` is 2–16 (default 9), `frame_duration_ms` is 20–2000 (default 200), and `size` is `auto` (each frame 512×512) or `WIDTHxHEIGHT` in multiples of 16. Do not send `image_list`, `image_size`, a `ratio` other than `auto`, or a transparent background. Output is priced on the combined image: 9 frames at 512×512 and low quality cost 2.59 tokens ($0.0518), and 16 frames at 720×720 and low quality cost 5.65 tokens ($0.1130), each including up to 1,024 bytes of prompt text. Use POST /api/v1/pricing/quote for other combinations. Frame-size limits: 2–8 frames ≤1,036,800 pixels per frame (short edge ≤960, long edge ≤1920); 9 frames ≤921,600 pixels (edges ≤1280); 10–12 frames ≤691,200 pixels (short edge ≤960, long edge ≤1280); 13–16 frames ≤518,400 pixels (edges ≤960). Returns an img_uuid; poll GET /api/v1/jobs/detail or use custom_callback_url. # GPT Image 2.6 Sunburst Source: https://docs.goenhance.ai/api-reference/image-api/gpt-image-2-6-sunburst api-reference/image-api/openapi-gpt-image-2-6-sunburst.json POST /api/v1/images/generations GPT Image 2.6 Sunburst: detail-oriented generation and consistent editing. Generate one PNG or animated GIF, or edit up to 16 reference images. Defaults: low quality, 1K, opaque background, high complexity. ## Pricing The following prices include one output image and up to 1,024 UTF-8 bytes of prompt text, with no reference images. Prices are in platform tokens (USD shown in parentheses). All aspect ratios use the same tier price. | Quality | 1K | 2K | 4K | |---|---|---|---| | low | 1.92 ($0.0384) | 3.54 ($0.0708) | 5.65 ($0.1130) | | medium | 3.12 ($0.0624) | 5.99 ($0.1198) | 9.73 ($0.1946) | | high | 3.71 ($0.0742) | 7.19 ($0.1438) | 11.72 ($0.2344) | | xhigh | 6.33 ($0.1266) | 12.51 ($0.2502) | 20.58 ($0.4116) | | max | 13.82 ($0.2764) | 27.74 ($0.5548) | 45.88 ($0.9176) | - Each additional started 1,024 bytes of trimmed UTF-8 prompt text adds 0.33 tokens ($0.0066). - Each reference image adds 2.1 tokens ($0.042) per started 1,048,576 pixels. Round each image up separately, then sum. - Example: low / 1K, a short prompt and one 1024×1024 reference costs 4.02 tokens ($0.0804). These are fixed prepaid input and output tariffs, not metered model-token settlement. Use POST /api/v1/pricing/quote with the same prompt and image_list for a quote; image dimensions are checked before charging. Group discounts, if any, apply to the total. Failed jobs refund their charge. Transparency and complexity do not add a charge. This endpoint supports one PNG per request; auto quality, multiple outputs, custom pixel sizes for still images, SVG, masks and markup are not supported. **Animated GIF (text-to-image only).** Set `output_format` to `gif`. `frame_count` is 2–16 (default 9), `frame_duration_ms` is 20–2000 (default 200), and `size` is `auto` (each frame 512×512) or `WIDTHxHEIGHT` in multiples of 16. Do not send `image_list`, `image_size`, a `ratio` other than `auto`, or a transparent background. Output is priced on the combined image: 9 frames at 512×512 and low quality cost 2.59 tokens ($0.0518), and 16 frames at 720×720 and low quality cost 5.65 tokens ($0.1130), each including up to 1,024 bytes of prompt text. Use POST /api/v1/pricing/quote for other combinations. Frame-size limits: 2–8 frames ≤1,036,800 pixels per frame (short edge ≤960, long edge ≤1920); 9 frames ≤921,600 pixels (edges ≤1280); 10–12 frames ≤691,200 pixels (short edge ≤960, long edge ≤1280); 13–16 frames ≤518,400 pixels (edges ≤960). Returns an img_uuid; poll GET /api/v1/jobs/detail or use custom_callback_url. # Grok Image Source: https://docs.goenhance.ai/api-reference/image-api/grok-image api-reference/image-api/openapi-grok-image.json POST /api/v1/images/generations Grok Image text-to-image and image-to-image. Pass `image_list` to edit reference images, or omit it for pure text-to-image. **Pricing:** 2.5 tokens per image (= $0.05). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Grok Imagine Image 2.0 API Source: https://docs.goenhance.ai/api-reference/image-api/grok-image-2 api-reference/image-api/openapi-grok-image-2.json POST /api/v1/images/generations Grok Imagine Image 2.0 text-to-image and image editing. Pass `image_list` to switch into edit mode — the model rewrites the supplied image(s) according to your prompt, or reinterprets them if no prompt is given. **Pricing:** 2.5 tokens per image (= $0.05). Both modes are billed at the same rate. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Image Upscaler Pro Source: https://docs.goenhance.ai/api-reference/image-api/image-upscaler-pro api-reference/image-api/openapi-image-upscaler-pro.json POST /api/v1/images/generations Enhance a photo with one of four modes. `upscale` makes the image 4× wider and 4× taller; `denoise`, `sharpen` and `face` keep the original size. The result is always a PNG. | `enhance_type` | What it does | Output | tokens / image | USD | |---|---|---|---|---| | `upscale` (default) | Enlarges the image and generates fine detail | 4× width and height | 4 | $0.08 | | `face` | Restores blurry or low-quality faces | Same size | 3 | $0.06 | | `denoise` | Removes noise and grain, keeps texture | Same size | 2 | $0.04 | | `sharpen` | Recovers clarity in soft or slightly blurry photos | Same size | 2 | $0.04 | **Pricing:** a flat price per image for each `enhance_type`, regardless of image size (USD at $0.02/token). **Limits** — requests outside these are rejected before any tokens are deducted: | | limit | |---|---| | `image_url` | `https://` only, publicly reachable, up to 32 MB | | Resolution | `upscale`: up to 1 megapixel (for example 1000×1000, output up to 4000×4000); other modes: up to 4 megapixels | | Format | Single-frame JPEG, PNG, WebP, TIFF or BMP; animated images are not supported | **Notes:** - `face` is meant for photos with a clearly visible face. - Processing usually takes 10–20 seconds per image. Submit several images in parallel rather than one after another. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the result. # MOSS-Image Source: https://docs.goenhance.ai/api-reference/image-api/moss-image api-reference/image-api/openapi-moss-image.json POST /api/v1/images/generations MOSS-Image text to image. The model is built for layout and long text, so posters, menus, signs and infographics come out with accurate English and Chinese lettering. Always returns a single PNG. Image editing is not available for this model; requests with `image_list` are rejected. **Pricing** — flat per image by resolution tier: | image_size | Tokens | USD | |---|---|---| | 1K (about 1 MP, default) | 1 | $0.02 | | 2K (about 4 MP) | 4 | $0.08 | **Text in the image** — put the exact words you want rendered in quotes, for example `a sign that reads "OPEN 24 HOURS"`. Chinese and English can be mixed in one prompt. Long prompts (up to 4000 characters) are fine and help with dense layouts. Text you do not specify may come out as filler. **Timing** — about 15 to 20 seconds of processing for 1K, and about 1 to 2 minutes for 2K, plus queue time. # Multiple Angles Source: https://docs.goenhance.ai/api-reference/image-api/multiple-angles api-reference/image-api/openapi-multiple-angles.json POST /api/v1/images/generations Move the camera around the subject. The subject itself is kept; only the viewpoint changes. Pick a horizontal angle (`azimuth`), a vertical angle (`elevation`) and a shot distance (`distance`) — 8 x 4 x 3 = 96 camera poses in total. All three are optional and default to a straight-on, eye-level, medium shot. **Pricing:** 1 token per image (= $0.02). Same rate as `qwen-image-edit`. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Muse Image Source: https://docs.goenhance.ai/api-reference/image-api/muse-image api-reference/image-api/openapi-muse-image.json POST /api/v1/images/generations Muse Image, Meta's image model. Fast, low-cost text to image, or generation guided by up to 9 reference images in `image_list`. Always returns a single WebP image. The model picks the output size itself, so there is no `image_size` or resolution tier. **Pricing** — 0.5 tokens ($0.01) per image, flat. Reference images are not charged. **Aspect ratio** — text to image defaults to 1:1. With reference images, `auto` (the default) follows the reference images. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. **Not accepted by this model** (rejected before any tokens are charged): `image_size` / `resolution`, more than 9 reference images. # Nano Banana API Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana api-reference/image-api/openapi-nano-banana.json POST /api/v1/images/generations **Pricing:** 2 tokens per image (= $0.04). # Nano Banana 2 API Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-2 api-reference/image-api/openapi-nano-banana-2.json POST /api/v1/images/generations **Pricing** — per image, in tokens (USD at $0.02/token): | image_size | tokens | USD | |---|---|---| | 0.5k | 3 | $0.060 | | 1k | 3.3 | $0.066 | | 2k | 5 | $0.100 | | 4k | 7.5 | $0.150 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Nano Banana 2.1 API Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-2-1 api-reference/image-api/openapi-nano-banana-2-1.json POST /api/v1/images/generations Google's newer Nano Banana image model, with improved visual quality, text rendering and consistency. Text-to-image up to 4K; for editing with reference images use [`nano-banana-2-1-edit`](/api-reference/image-api/nano-banana-2-1-edit). **Pricing** — per image, in tokens (USD at $0.02/token). Thinking is included in the price: | image_size | tokens | USD | |---|---|---| | 1k | 2.92 | $0.0584 | | 2k | 4.02 | $0.0804 | | 4k | 8.08 | $0.1616 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Nano Banana 2.1 Edit API Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-2-1-edit api-reference/image-api/openapi-nano-banana-2-1-edit.json POST /api/v1/images/generations Edit or compose images with Google's newer Nano Banana model, using 1–9 reference images in `image_list`. For text-to-image use [`nano-banana-2-1`](/api-reference/image-api/nano-banana-2-1). **Pricing** — per image, in tokens (USD at $0.02/token). Reference images and thinking are included in the price, whatever the number of references: | image_size | tokens | USD | |---|---|---| | 1k | 2.92 | $0.0584 | | 2k | 4.02 | $0.0804 | | 4k | 8.08 | $0.1616 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Nano Banana 2 Edit API Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-2-edit api-reference/image-api/openapi-nano-banana-2-edit.json POST /api/v1/images/generations **Pricing** — per image, in tokens (USD at $0.02/token): | image_size | tokens | USD | |---|---|---| | 0.5k | 3 | $0.060 | | 1k | 3.3 | $0.066 | | 2k | 5 | $0.100 | | 4k | 7.5 | $0.150 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Nano Banana 2 Lite Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-2-lite api-reference/image-api/openapi-nano-banana-2-lite.json POST /api/v1/images/generations Nano Banana 2 Lite text-to-image (Gemini 3.1 Flash Lite Image). Outputs 1K only. **Pricing:** 2 tokens per image (= $0.04). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Nano Banana 2 Lite Edit Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-2-lite-edit api-reference/image-api/openapi-nano-banana-2-lite-edit.json POST /api/v1/images/generations Nano Banana 2 Lite image editing (Gemini 3.1 Flash Lite Image). Edit reference images with a text prompt. Outputs 1K only. **Pricing:** 2 tokens per image (= $0.04). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Nano Banana Edit API Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-edit api-reference/image-api/openapi-nano-banana-edit.json POST /api/v1/images/generations **Pricing:** 2 tokens per image (= $0.04). # Nano Banana Pro API Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-pro api-reference/image-api/openapi-nano-banana-pro.json POST /api/v1/images/generations **Pricing** — per image, in tokens (USD at $0.02/token): | image_size | tokens | USD | |---|---|---| | 1k | 7 | $0.140 | | 2k | 7 | $0.140 | | 4k | 12 | $0.240 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Nano Banana Pro Edit API Source: https://docs.goenhance.ai/api-reference/image-api/nano-banana-pro-edit api-reference/image-api/openapi-nano-banana-pro-edit.json POST /api/v1/images/generations **Pricing** — per image, in tokens (USD at $0.02/token): | image_size | tokens | USD | |---|---|---| | 1k | 7 | $0.140 | | 2k | 7 | $0.140 | | 4k | 12 | $0.240 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # OC Maker Source: https://docs.goenhance.ai/api-reference/image-api/oc-maker api-reference/image-api/openapi-oc-maker.json POST /api/v1/images/generations Two-stage generation in a single request: an LLM turns your prompt into a structured character sheet, then that result is rendered into an image. **You supply the full LLM prompt.** No style presets or prompt templates are applied server-side — compose whatever prompt you need. **Required output contract:** your prompt MUST instruct the model to return a JSON object containing an `oc_prompt` field. That field becomes the image prompt. If the model does not return parseable JSON with `oc_prompt`, the job fails. Optionally include `oc_ratio` in that JSON to let the model pick the aspect ratio; the `ratio` request field overrides it. **Pricing:** 1 token per request (= $0.02). Covers both the text and image stages. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the result. The result contains two entries: the full LLM JSON (`type: "json"`) and the rendered image (`type: "image"`, `image_type: "main_view"`). ## Prompt contract This endpoint runs two stages: a language model turns your prompt into a structured character sheet, then that sheet is rendered into an image. Your prompt **must** instruct the model to return a JSON object containing an `oc_prompt` field — that field becomes the image prompt. If the model returns anything that cannot be parsed as JSON, or the JSON has no `oc_prompt`, the job fails. ```text theme={null} Create a character based on: a stoic knight with silver hair. Return ONLY a JSON object in this format: {"role_name":"","appearance":"","personality":"","oc_prompt":"","oc_ratio":"3:4"} "oc_prompt" must be an English image prompt starting with "Anime style, Single character, full body, front view". ``` Any other keys you ask for (`role_name`, `personality`, `character_backstory`, …) are passed through to the result untouched, so you can shape the character sheet however you like. `oc_ratio` is optional — it lets the model choose the aspect ratio. The `ratio` request field overrides it, and `3:4` is used when neither is present. ## Result Unlike the other image endpoints, the result array contains **two entries**: the full JSON from the text stage, then the rendered image. Poll `GET /api/v1/jobs/detail` or use `custom_callback_url`. ```json theme={null} { "code": 0, "msg": "Success", "data": { "img_uuid": "0f1b8c2e-4a7d-4c31-9f28-6de4a1b9c503", "status": "success", "type": "oc-maker", "start_time": "2026-08-02T09:14:22.108Z", "end_time": "2026-08-02T09:15:04.771Z", "model_id": "-1", "json": [ { "type": "json", "value": { "role_name": "Sir Aldric", "appearance": "Tall knight with long silver hair and a scarred jaw", "personality": "Stoic, loyal, slow to anger", "oc_prompt": "Anime style, Single character, full body, front view, a tall knight with long silver hair...", "oc_ratio": "3:4" }, "duration": 28.4, "link_expired_at": "2026-08-03T09:15:04.771Z" }, { "type": "image", "image_type": "main_view", "value": "https://cdn3.goenhance.ai/user/seedream/9dfdb4b5-7ef7-4fe7-93ff-b9eb76cc431d.jpg", "duration": 28.4, "link_expired_at": "2026-08-03T09:15:04.771Z" } ], "job_type": "oc-maker" } } ``` > [!NOTE] > > The `value` of the `type: "json"` entry is an **object**, not a URL string — the only endpoint > where this happens. Read the image from the entry with `type: "image"` rather than assuming > `json[0]` is the image. A few details worth knowing: * `link_expired_at` applies to the image link. It is also present on the JSON entry, where it has no meaning — ignore it there. * `duration` measures the image stage only, not the text stage, so it under-reports total latency. * Both stages share one `img_uuid` and are billed once. A failure in either stage fails the whole job and refunds the tokens. # Qwen-Image 2.1 Source: https://docs.goenhance.ai/api-reference/image-api/qwen-image-2-1 api-reference/image-api/openapi-qwen-image-2-1.json POST /api/v1/images/generations Qwen-Image 2.1 in a single endpoint: text to image, editing with up to 10 reference images, transparent PNG output, and background removal. Omit `image_list` for text to image; pass it to edit. Always returns a single PNG. **Pricing** — flat per image by resolution tier. Text to image, editing and transparent output cost the same, and reference images add nothing: | image_size | Tokens | USD | |---|---|---| | 1K (about 1 MP, default) | 1 | $0.02 | | 2K (about 4 MP, native) | 4 | $0.08 | **Editing and reference images** - Refer to the images in the prompt as ``, `` … in `image_list` order. `image1` is the image being edited; the rest are references. - Up to 10 images at 1K. **At 2K the limit is 3**, because every reference is also encoded at 2K. - With `ratio: auto` (the default when editing) the output keeps the aspect ratio of `image1`. Choosing a ratio far from `image1` can shift the edit. - PNG references with transparency are read with their alpha channel. **Transparent background** — set `background` to `transparent` for a PNG with an alpha channel, for both text to image and editing. To remove the background of one image, send one image in `image_list` with `background: transparent` and no prompt. - Fully transparent pixels carry an arbitrary colour underneath. Composite the PNG over your own background before converting to JPEG, or the transparent area turns into a solid colour. - Transparent materials such as glass or lenses come out opaque. - For plain cut-outs, [Background Remover](/api-reference/image-api/background-remover) is cheaper and gives cleaner hair edges. **Timing** — about 30 to 60 seconds of processing for 1K, and about 3 to 7 minutes for 2K, plus queue time. # Qwen-Image 3.0 Source: https://docs.goenhance.ai/api-reference/image-api/qwen-image-3 api-reference/image-api/openapi-qwen-image-3.json POST /api/v1/images/generations Qwen-Image 3.0 text-to-image and image editing in a single endpoint. Pass `image_list` to edit reference images (1-3), or omit it for pure text-to-image. Always returns a single image. **Pricing** — output tier plus a surcharge per reference image: | What | Tokens | USD | |---|---|---| | Output, 1K or 2K | 1.75 | $0.035 | | Each reference image | 0.19 | $0.0039 | Both tiers cost the same on this model, so `image_size` only changes the output size. Example: 2 reference images = 1.75 + 2 x 0.19 = 2.13 tokens (= $0.0426). For higher quality use `/api/v1/qwen-image-3-pro`, where the 2K tier costs twice as much as 1K. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Qwen-Image 3.0 Pro Source: https://docs.goenhance.ai/api-reference/image-api/qwen-image-3-pro api-reference/image-api/openapi-qwen-image-3-pro.json POST /api/v1/images/generations Qwen-Image 3.0 Pro text-to-image and image editing in a single endpoint. Pass `image_list` to edit reference images (1-3), or omit it for pure text-to-image. Always returns a single image. **Pricing** — output tier plus a surcharge per reference image: | What | Tokens | USD | |---|---|---| | Output, 1K | 2.43 | $0.049 | | Output, 2K | 4.85 | $0.097 | | Each reference image | 0.19 | $0.0039 | Example: 2K with 3 reference images = 4.85 + 3 x 0.19 = 5.42 tokens (= $0.1084). `image_size` decides the price tier. Two cases are billed differently from what you send: `ratio: auto` is always billed at the 2K rate (the model picks the resolution, so it cannot be known up front), and `1:8` / `8:1` are always billed at the 1K rate (they cannot be produced above that tier). For a cheaper flat rate use `/api/v1/qwen-image-3`, where both tiers cost 1.75 tokens (= $0.035). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Qwen Image Edit 2511 Source: https://docs.goenhance.ai/api-reference/image-api/qwen-image-edit api-reference/image-api/openapi-qwen-image-edit.json POST /api/v1/images/generations Edit reference images with a text prompt (Qwen Image Edit). **Pricing:** 1 token per image (= $0.02). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Seedream 4.0 Source: https://docs.goenhance.ai/api-reference/image-api/seedream-4-0 api-reference/image-api/openapi-seedream-4-0.json POST /api/v1/images/generations Seedream 4.0 text-to-image and image-to-image. Pass `image_list` to use reference images (up to 14), or omit it for pure text-to-image. Output resolution is 2K. **Pricing:** 1 token per image (= $0.02). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Seedream 4.5 Source: https://docs.goenhance.ai/api-reference/image-api/seedream-4-5 api-reference/image-api/openapi-seedream-4-5.json POST /api/v1/images/generations Seedream 4.5 text-to-image and image-to-image. Provide a `prompt`; pass `image_list` with one or more reference images to run image-to-image. Resolution is determined by `ratio` (aspect) + `image_size` (tier); all tiers are billed the same. **Pricing:** 1.85 tokens per image (= $0.037). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Seedream 5.0 Flash Source: https://docs.goenhance.ai/api-reference/image-api/seedream-5-flash api-reference/image-api/openapi-seedream-5-flash.json POST /api/v1/images/generations Seedream 5.0 Flash text-to-image and image-to-image — the fast, low-cost Seedream tier. Pass `image_list` to use reference images (up to 10), or omit it for pure text-to-image. Always returns a single image. To split an image into editable layers, use the separate [seedream-5-flash-layers](./seedream-5-flash-layers) model instead. #### Transparent output Set `background` to `transparent` to keep an existing alpha channel. It needs exactly one input image, and that image must be a PNG that already has transparent pixels. It keeps the transparency you already have; it does not remove backgrounds. Output is png. #### Pricing | What | Tokens | USD | |---|---|---| | Output, 1K, 1.5K or 2K | 1.11 | $0.0222 | | Reference images | Free | Free | All three quality tiers cost the same, so 2K is the default. Example: a 2K image with 3 reference images costs 1.11 tokens. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Seedream 5.0 Flash Layers Source: https://docs.goenhance.ai/api-reference/image-api/seedream-5-flash-layers api-reference/image-api/openapi-seedream-5-flash-layers.json POST /api/v1/images/generations Split one image into a base image plus up to 16 independently editable layers. Every layer is a transparent PNG, and each comes back with the coordinates you need to put it back together. Pass exactly one image in `image_list`. `prompt` is optional — leave it out for an automatic split. #### Reading the result Each item in the result carries: - `z_index` — 0 is the base image; layers ascend from 1 - `bounding_box.absolute` — `[left, top, right, bottom]` in the base image's pixels - `bounding_box.normalized` — the same box on a 0-1000 scale, for any canvas size - `name` and `description` — what the layer contains Sort by `z_index`, then place each layer using its bounding box to restore or recompose the artwork. #### Pricing | Tier | Tokens | USD | |---|---|---| | 1K, 1.5K, 2K or auto | 18.87 | $0.3774 | Charged per request, not per image. The model decides how many layers to produce, so a request is billed as one base image plus 16 layers regardless of how many come back. The base image and every layer are priced the same, and the tier does not change the price. - Per image: 1.11 tokens - Per image in USD: $0.0222 Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Seedream 5 Lite Source: https://docs.goenhance.ai/api-reference/image-api/seedream-5-lite api-reference/image-api/openapi-seedream-5-lite.json POST /api/v1/images/generations Seedream 5 Lite text-to-image and image-to-image. Provide a `prompt`; pass `image_list` with one or more reference images to run image-to-image. Resolution is determined by `ratio` (aspect) + `image_size` (tier); all tiers are billed the same. **Pricing:** 1.65 tokens per image (= $0.033). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Seedream 5.0 Pro Source: https://docs.goenhance.ai/api-reference/image-api/seedream-5-pro api-reference/image-api/openapi-seedream-5-pro.json POST /api/v1/images/generations Seedream 5.0 Pro text-to-image and image-to-image. Pass `image_list` to use reference images (up to 10), or omit it for pure text-to-image. Always returns a single image — this model does not support sequential (grouped) image generation. To split an image into editable layers, use the separate [seedream-5-pro-layers](./seedream-5-pro-layers) model instead. #### Transparent output Set `background` to `transparent` for an image with an alpha channel. This works for image-to-image only, and the input image must already have transparency. #### Pricing | What | Tokens | USD | |---|---|---| | Output, 1K or 1.5K | 1.725 | $0.0345 | | Output, 2K | 3.45 | $0.069 | | Each reference image after the first | 0.115 | $0.0023 | The first reference image is free. Example: 2K with 3 reference images costs 3.45 plus 2 surcharges, so 3.68 tokens. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Seedream 5.0 Pro Layers Source: https://docs.goenhance.ai/api-reference/image-api/seedream-5-pro-layers api-reference/image-api/openapi-seedream-5-pro-layers.json POST /api/v1/images/generations Split one image into a base image plus up to 16 independently editable layers. Every layer is a transparent PNG, and each comes back with the coordinates you need to put it back together. Pass exactly one image in `image_list`. `prompt` is optional — leave it out for an automatic split. #### Reading the result Each item in the result carries: - `z_index` — 0 is the base image; layers ascend from 1 - `bounding_box.absolute` — `[left, top, right, bottom]` in the base image's pixels - `bounding_box.normalized` — the same box on a 0-1000 scale, for any canvas size - `name` and `description` — what the layer contains Sort by `z_index`, then place each layer using its bounding box to restore or recompose the artwork. #### Pricing | Tier | Tokens | USD | |---|---|---| | 1K, 1.5K or auto | 14.66 | $0.2932 | | 2K | 15.53 | $0.3106 | Charged per request, not per image. The model decides how many layers to produce, so a request is billed as one base image plus 16 layers regardless of how many come back. Layers are billed at half the rate of a normal image, which is why a split costs far less than 17 separate generations. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # SeedVR2 Source: https://docs.goenhance.ai/api-reference/image-api/seedvr2 api-reference/image-api/openapi-seedvr2.json POST /api/v1/images/generations SeedVR2 image enhancement / upscaling. Provide a single image via `image_url` and choose the target `resolution`. **Pricing** — flat per image by target resolution (USD at $0.02/token): | resolution | tokens | USD | |---|---|---| | 1080p | 0.5 | $0.01 | | 2k | 1 | $0.02 | | 4k | 2 | $0.04 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the enhanced image. # Task Status API Source: https://docs.goenhance.ai/api-reference/image-api/task-status GET /api/v1/jobs/detail Check the status of a nano banana task. # Watermark Remover Source: https://docs.goenhance.ai/api-reference/image-api/watermark-remover api-reference/image-api/openapi-watermark-remover.json POST /api/v1/images/generations Automatically detect and remove watermarks, logos and text overlays from an image. Watermark regions are detected and then filled in with matching background; the rest of the image is left untouched and the output keeps the original size. **Pricing:** 1 token per image (= $0.02), regardless of image size. **Input and output:** - `image_url` must be an `https://` link that is publicly reachable. - The output format follows the input: PNG, JPG and WebP keep their format; other formats (for example BMP) are returned as PNG. **Tuning detection:** - `detection_prompt` describes what to remove. The default `watermark` covers most stock-photo and AI-generator marks; naming the mark (for example `Sora logo` or `Getty Images`) helps when it is small or blends into the background. - `max_bbox_percent` ignores any detected region larger than this share of the image, so a false positive cannot erase a large part of the picture. Raise it only for watermarks that really cover a big area. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the cleaned image. # Z-Image Source: https://docs.goenhance.ai/api-reference/image-api/z-image api-reference/image-api/openapi-z-image.json POST /api/v1/images/generations Z-Image text-to-image generation at a flat per-image price. **Pricing:** 0.2 tokens per image (= $0.004). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated image. # Task Callback (Webhook) Source: https://docs.goenhance.ai/api-reference/tasks/callback Receive an HTTP notification on your own server when a task status changes, instead of polling the Get Job Status API. ## Overview All generate endpoints (Video to Video, Video Effects, Face Swap, Image APIs, etc.) accept an optional top-level `custom_callback_url` field. When provided, GoEnhance sends a POST request to that URL every time the task status changes, so you don't need to poll the [Get Job Status](/api-reference/tasks/detail) API. ```json theme={null} { "prompt": "a cute cat", "custom_callback_url": "https://your-server.com/goenhance/callback" } ``` ## Requirements * The URL must be a **publicly accessible HTTPS endpoint**. * Your server must respond with **HTTP 200** within **3 seconds**. Do any heavy processing asynchronously after responding. ## Callback Payload The request body is **identical to the response of [Get Job Status](/api-reference/tasks/detail)** (`GET /api/v1/jobs/detail`), so you can reuse the same parsing logic: ```json theme={null} { "code": 0, "msg": "Success", "data": { "img_uuid": "37c82d82-8765-4031-8cb3-722df8a668e6", "status": "success", "type": "mx-image-face-swap", "start_time": "2024-10-11T10:55:32.596Z", "end_time": "2024-10-11T10:56:00.338Z", "model_id": "-1", "json": [ { "type": "image", "value": "https://openapi-static.goenhance.ai/user/2024/10/11/9dfdb4b5-7ef7-4fe7-93ff-b9eb76cc431d_0.jpg" } ], "job_type": "mx-image-face-swap" } } ``` The `data.status` field is one of: * **pending**: Job is queued and waiting to be processed * **processing**: Job is currently being processed * **success**: Job has finished successfully — results are in `data.json` * **failed**: Job has failed with an error ## Retry Policy If your server does not respond with HTTP 200 (including timeouts and connection errors), the notification is retried up to **3 times**, with a **3-second timeout** per attempt. If all attempts fail, the notification is dropped — you can always fall back to polling [Get Job Status](/api-reference/tasks/detail). ## Best Practices 1. Respond with `200` immediately after receiving the payload, then process it asynchronously. 2. Make your handler **idempotent** — deduplicate by `img_uuid` + `status`, as the same notification may be delivered more than once due to retries. 3. Keep polling as a fallback for critical workflows, in case your endpoint is temporarily unreachable. # Get Job Status Source: https://docs.goenhance.ai/api-reference/tasks/detail GET /api/v1/jobs/detail Check the status and details of any asynchronous job in the GoEnhance platform. ## Overview The Get Job Status API allows you to check the current status of any asynchronous job in the GoEnhance platform. This is a universal endpoint that works with all job types, including video generation, image processing, and other time-consuming operations. ## How It Works When you initiate an asynchronous operation through any of our APIs, you receive a job identifier (`img_uuid`). You can use this identifier with the Get Job Status API to track the progress of your job until it completes. ## Job Status Values The API returns a `status` field with one of the following values: * **pending**: Job is queued and waiting to be processed * **processing**: Job is currently being processed * **success**: Job has finished successfully * **failed**: Job has failed with an error ## Usage Example This endpoint is typically used in a polling pattern: 1. Submit an asynchronous job request 2. Receive an `img_uuid` in the response 3. Periodically call the Get Job Status API with that `img_uuid` 4. When `status` is "success", retrieve your results ## Result Entries (`json[]`) When `status` is `success`, `data.json` holds one entry per produced asset: | Field | Meaning | | - | - | | `type` | What `value` holds — `image`, `video` or `json`. | | `value` | The result URL. (`oc-maker` is the one exception: its `type: "json"` entry holds an object instead of a URL.) | | `duration` | **How long GoEnhance took to produce the asset, in seconds.** | | `link_expired_at` | When `value` stops working — 24 hours after the job finished. | > [!WARNING] > > `duration` is **processing time, not the length of the media**. Upscaling a 5-second clip that > took just over 91 seconds of GPU time reports `duration: 90.901` — it does not mean the output > video is 91 seconds long. If you need the length of a generated video, read it from the file > itself. > [!NOTE] > > Result URLs are temporary. Download the file before `link_expired_at`; GoEnhance does not keep a > permanent copy, and the link cannot be renewed. See > [Best Practices](/guides/best-practices) for a recommended download flow. ## Callback Instead of Polling If you don't want to poll, pass a top-level `custom_callback_url` when creating the task — GoEnhance will POST this same payload to your server on every status change. See [Task Callback](/api-reference/tasks/callback) for details. ## Example Response ```json theme={null} { "code": 0, "msg": "Success", "data": { "img_uuid": "37c82d82-8765-4031-8cb3-722df8a668e6", "status": "success", "type": "mx-image-face-swap", "start_time": "2024-10-11T10:55:32.596Z", "end_time": "2024-10-11T10:56:00.338Z", "model_id": "-1", "json": [ { "type": "image", "value": "https://openapi-static.goenhance.ai/user/2024/10/11/9dfdb4b5-7ef7-4fe7-93ff-b9eb76cc431d_0.jpg?q-sign-algorithm=sha1&q-ak=AKIDqUvFPSM9vvmdNzSn01oeUAdxw1y1zkS2&q-sign-time=1728644159;1728687359&q-key-time=1728644159;1728687359&q-header-list=host&q-url-param-list=&q-signature=cd1e9c6ef14d36c1e034d6bd3a3fe1aaee41b15f" } ], "job_type": "mx-image-face-swap" } } ``` A video job carries the same shape. Note that `duration` (90.901) is the processing time — the upscaled clip itself is about 5 seconds long: ```json theme={null} { "code": 0, "msg": "Success", "data": { "img_uuid": "51c586b3-b648-4f68-bc15-d2b8d99a67f3", "status": "success", "type": "video-upscaler", "start_time": "2026-09-03T07:10:34.171Z", "end_time": "2026-09-03T07:12:38.890Z", "model_id": "video-upscaler", "json": [ { "type": "video", "value": "https://cdn4.goenhance.ai/source/UOe_LwQv-63s9JeDPP_KRQ7Hn0_x1eA1hiXF1-6M4R6VYNW2W9oy...mp4", "duration": 90.901, "link_expired_at": "2026-09-04T07:12:38.890Z" } ], "job_type": "video-upscaler" } } ``` # Generate API Source: https://docs.goenhance.ai/api-reference/video-effects/generate POST /api/v1/videoeffect/generate Generate video effect task. # Get Template List API Source: https://docs.goenhance.ai/api-reference/video-effects/list GET /api/v1/videoeffect/list Retrieve a comprehensive list of all available video effect templates with their details, including effect IDs, labels, and preview URLs. ## Overview The Video Effects List API provides a complete catalog of all available video effect templates in the GoEnhance platform. Use this endpoint to discover effect options, display them to your users, or programmatically select effects for your application. ## Response Format The API returns an array of effect templates, each containing: * `effect_id`: Unique identifier for the effect (used in generate endpoints) * `label`: Human-readable name of the effect * `url`: Preview video URL to showcase the effect * Additional metadata about the effect ## Usage Examples This endpoint is useful for: * Building effect selection interfaces in your application * Dynamically updating available effects without code changes * Displaying preview videos to demonstrate effects to users * Retrieving effect IDs needed for the generate endpoints For implementation of specific effects, refer to the individual effect documentation pages in the Templates section. # Video Effects API Overview Source: https://docs.goenhance.ai/api-reference/video-effects/overview Transform static images into dynamic videos with our powerful Video Effects API collection. Integrate AI-powered animations, transformations, and effects into your applications. # Video Effects API The GoEnhance Video Effects API suite provides developers with powerful tools to programmatically transform static images into dynamic, engaging videos. Our AI-powered technology enables a wide range of creative effects, from facial animations and dance movements to visual transformations and special effects. ## Key Features * **High-Quality Transformations**: Convert static images into realistic video animations * **Diverse Effect Library**: Access 35+ unique video effects for different use cases * **Simple Integration**: Straightforward REST API with consistent request/response patterns * **Scalable Performance**: Handle high-volume requests with reliable processing * **Developer-Friendly**: Comprehensive documentation and examples for easy implementation ## How It Works 1. **Select an Effect**: Choose from our library of video effect templates 2. **Upload an Image**: Provide a reference image via URL or base64 encoding 3. **Generate Video**: Our AI processes your image and applies the selected effect 4. **Check Status**: Monitor the processing status using the job identifier 5. **Retrieve Result**: Access the generated video for use in your application ## Available Effects Our Video Effects API includes a diverse collection of templates, including: * **Social Interactions**: Hug, Kiss, French Kiss, Blow Kiss * **Dance Animations**: Twerk Dance, Hip Shake, Jiggle Dance, Squat Shake, Phut Hon Dance * **Visual Transformations**: Turning Metal, Anime2Real, Muscle Show, Mermaid Spell * **Special Effects**: Thunder God, Spitfire, Set On Fire, Alien Kidnap * **And many more!** ## Example: Hug Effect Here's an example of how to use our Hug effect API: ```javascript theme={null} // Request example for the Hug effect fetch('https://api.goenhance.ai/api/v2/videoeffect/generate/hug', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY' }, body: JSON.stringify({ "reference_img": "https://example.com/your-image.jpg" }) }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); ``` The API will process your image and return a response containing a unique identifier (`img_uuid`) that you can use to check the status and access the generated video. ## Monitoring Job Status Video effect generation is an asynchronous process. After submitting your request, you'll receive an `img_uuid` that you can use to check the status of your job: ```javascript theme={null} // Check job status example fetch(`https://api.goenhance.ai/api/v1/jobs/detail?img_uuid=YOUR_IMG_UUID`, { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }) .then(response => response.json()) .then(data => { // Check the status if (data.data.status === "success") { // Job completed, access the result URL from data.data.json[0].value console.log("Video URL:", data.data.json[0].value); } else if (data.data.status === "pending" || data.data.status === "processing") { // Job still in progress console.log("Job in progress, check again later"); } else { // Job failed console.log("Job failed"); } }) .catch(error => console.error('Error:', error)); ``` When the job status is "success", you can find the generated video URL in the `data.json[0].value` field of the response. ## Integration Guide For detailed information on integrating specific effects, please refer to the individual API documentation pages. Each effect has its own endpoint and may support additional parameters for customization. To get started with the Hug effect, see the [AI Hug Video Generator API](/api-reference/video-effects/templates/hug) documentation. ## Video Effects List For a complete list of available effects and their capabilities, see the [Video Effects List API](/api-reference/video-effects/list) documentation. ## Job Status API For detailed information on checking the status of your video generation jobs, see the [Get Job Status API](/api-reference/tasks/detail) documentation. # Task Status API Source: https://docs.goenhance.ai/api-reference/video-effects/task-status GET /api/v1/jobs/detail Check the status of video effect task. # AI Alien Kidnap Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/alien_kidnap POST /api/v2/videoeffect/generate/alien_kidnap Integrate AI-powered alien abduction videos into your apps. Transform static images into sci-fi scenes with UFO effects and beam technology. ## Example Example output from the AI Alien Kidnap Video Generator API: ## API Overview The AI Alien Kidnap Video Generator API enables developers to programmatically create realistic videos of people being abducted by alien spacecraft. By sending image data to our endpoint, your application can generate dramatic sci-fi scenes featuring UFO appearances, tractor beams, and subject levitation with cinematic visual effects. This API is perfect for integrating into entertainment applications, sci-fi themed platforms, content creation tools, or any service that would benefit from engaging, otherworldly content with a touch of humor and spectacle. # AI Anime to Real Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/anime2real POST /api/v2/videoeffect/generate/anime2real Integrate AI-powered anime transformation into your apps. Convert animated characters into photorealistic human videos with smooth style transitions. ## Example Example output from the AI Anime to Real Video Generator API: ## API Overview The AI Anime to Real Video Generator API enables developers to programmatically create videos that transform anime or cartoon characters into realistic human representations. By sending image data to our endpoint, your application can generate seamless transformation sequences with style-preserving features, natural movements, and photorealistic rendering. This API is perfect for integrating into entertainment applications, fan communities, content creation platforms, or any service that would benefit from engaging, cross-medium character visualizations. # AI Bikini Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/bikini-up POST /api/v2/videoeffect/generate/bikini-up Integrate AI-powered swimwear videos into your apps. Transform regular images into beach-ready animations with realistic rendering and movements. ## Example Example output from the AI Bikini Video Generator API: ## API Overview The AI Bikini Video Generator API enables developers to programmatically create videos of subjects in swimwear. By sending image data to our endpoint, your application can generate realistic visualizations of people in bikinis with natural movements, appropriate styling, and beach-themed contexts. This API is perfect for integrating into fashion applications, virtual try-on services, travel platforms, or any service that would benefit from engaging, seasonal content for swimwear visualization. # AI Blow Kiss Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/blow_a_kiss POST /api/v2/videoeffect/generate/blow_a_kiss Integrate AI-powered blow kiss videos into your apps. Transform static images into charming scenes with realistic hand gestures and expressions. ## Example Example output from the AI Blow Kiss Video Generator API: ## API Overview The AI Blow Kiss Video Generator API enables developers to programmatically create videos of subjects blowing kisses. By sending image data to our endpoint, your application can generate natural-looking animations with realistic hand movements, facial expressions, and subtle visual effects. This API is perfect for integrating into dating applications, social media platforms, greeting services, or any platform that would benefit from engaging, affectionate gesture content. # AI Boyfriendsssss Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/boyfriendsssss POST /api/v2/videoeffect/generate/boyfriendsssss Integrate AI-powered male companion videos into your apps. Transform single portraits into group scenes with coordinated movements. ## Example Example output from the AI Boyfriendsssss Video Generator API: ## API Overview The AI Boyfriendsssss Video Generator API enables developers to programmatically create videos that multiply a male subject into a group of similar-looking companions. By sending image data to our endpoint, your application can generate realistic multiplications with varied poses, coordinated movements, and natural group dynamics. This API is perfect for integrating into social media applications, entertainment platforms, content creation tools, or any service that would benefit from engaging, group-based male character content. # AI Drunk Pole Dance Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/drunk_pole_dance POST /api/v2/videoeffect/generate/drunk_pole_dance Integrate AI-powered pole dance videos into your apps. Transform static images into playful dance animations with realistic movements and choreography. ## Example Example output from the AI Drunk Pole Dance Video Generator API: ## API Overview The AI Drunk Pole Dance Video Generator API enables developers to programmatically create realistic videos of people performing pole dance movements with a playful, slightly uncoordinated style. By sending image data to our endpoint, your application can generate natural-looking dance animations with smooth transitions, realistic body physics, and professional choreography. This API is perfect for integrating into entertainment applications, nightlife promotion platforms, content creation tools, or any service that would benefit from engaging, attention-grabbing dance content. # AI Earth Zoom In Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/earth_zoom_in POST /api/v2/videoeffect/generate/earth_zoom_in Integrate AI-powered Earth zoom videos into your apps. Create dramatic sequences from space to specific locations with satellite imagery transitions. ## Example Example output from the AI Earth Zoom In Video Generator API: ## API Overview The AI Earth Zoom In Video Generator API enables developers to programmatically create videos that simulate zooming in from space to a specific location on Earth. By sending image data to our endpoint, your application can generate cinematic zoom sequences with realistic satellite imagery, smooth transitions, and precise location targeting. This API is perfect for integrating into travel applications, location-based services, educational platforms, or any service that would benefit from engaging, dramatic location reveal content. # AI Earth Zoom Out Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/earth_zoom_out POST /api/v2/videoeffect/generate/earth_zoom_out Integrate AI-powered Earth zoom-out videos into your apps. Create dramatic sequences from locations to space with seamless satellite transitions. ## Example Example output from the AI Earth Zoom Out Video Generator API: ## API Overview The AI Earth Zoom Out Video Generator API enables developers to programmatically create videos that simulate zooming out from a specific location on Earth to space. By sending image data to our endpoint, your application can generate cinematic zoom sequences with realistic satellite imagery, smooth transitions, and progressive perspective shifts. This API is perfect for integrating into travel applications, global perspective tools, educational platforms, or any service that would benefit from engaging, dramatic global context content. # AI Face Punch Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/face_punch POST /api/v2/videoeffect/generate/face_punch Integrate AI-powered comedic punch videos into your apps. Create entertaining scenes with realistic impact effects and exaggerated reactions. ## Example Example output from the AI Face Punch Video Generator API: ## API Overview The AI Face Punch Video Generator API enables developers to programmatically create comedic videos of subjects receiving simulated face punches. By sending image data to our endpoint, your application can generate entertaining animations with realistic impact effects, exaggerated reactions, and cartoon-style physics. This API is perfect for integrating into gaming applications, social media platforms, entertainment tools, or any service that would benefit from engaging, humorous action content. # AI Focus Lens Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/focus_lens POST /api/v2/videoeffect/generate/focus_lens Integrate AI-powered focus effect videos into your apps. Transform static images into cinematic scenes with professional depth-of-field transitions. ## Example Example output from the AI Focus Lens Video Generator API: ## API Overview The AI Focus Lens Video Generator API enables developers to programmatically create videos with professional camera focus effects. By sending image data to our endpoint, your application can generate cinematic animations with realistic depth-of-field transitions, focus pulls, and subtle camera movements. This API is perfect for integrating into photography applications, filmmaking tools, content creation platforms, or any service that would benefit from engaging, professionally styled visual content. # AI French Kiss Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/french_kiss POST /api/v2/videoeffect/generate/french_kiss Integrate AI-powered French kiss videos into your apps. Transform static images into passionate romantic scenes with realistic facial animations. ## Example Example output from the AI French Kiss Video Generator API: ## API Overview The AI French Kiss Video Generator API enables developers to programmatically create realistic videos of people engaged in passionate French kissing. By sending image data to our endpoint, your application can generate natural-looking French kissing animations with fluid movements, detailed facial expressions, and authentic emotional intensity. This API is perfect for integrating into dating applications, romance-focused platforms, entertainment apps, content creation tools, or any service that would benefit from creating intimate, emotionally engaging romantic content. # AI Girlfriendsssss Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/girlfriendsssss POST /api/v2/videoeffect/generate/girlfriendsssss Integrate AI-powered female companion videos into your apps. Transform single portraits into group scenes with synchronized movements. ## Example Example output from the AI Girlfriendsssss Video Generator API: ## API Overview The AI Girlfriendsssss Video Generator API enables developers to programmatically create videos that multiply a female subject into a group of similar-looking companions. By sending image data to our endpoint, your application can generate realistic multiplications with varied poses, synchronized movements, and natural group dynamics. This API is perfect for integrating into social media applications, entertainment platforms, content creation tools, or any service that would benefit from engaging, group-based female character content. # AI Go Super Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/go_super POST /api/v2/videoeffect/generate/go_super Integrate AI-powered superhero videos into your apps. Create dynamic scenes with energy surges, power-up animations, and visual effects. ## Example Example output from the AI Go Super Video Generator API: ## API Overview The AI Go Super Video Generator API enables developers to programmatically create videos of subjects transforming into powered-up, superhero-like versions of themselves. By sending image data to our endpoint, your application can generate dynamic transformation sequences with energy auras, power surges, and dramatic visual effects. This API is perfect for integrating into gaming applications, superhero-themed platforms, entertainment services, or any platform that would benefit from engaging, action-packed transformation content. # AI Heart Pose Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/heart_pose POST /api/v2/videoeffect/generate/heart_pose Integrate AI-powered heart pose videos into your apps. Transform static images into charming animations of subjects forming heart shapes. ## Example Example output from the AI Heart Pose Video Generator API: ## API Overview The AI Heart Pose Video Generator API enables developers to programmatically create videos of people forming heart shapes with their hands or bodies. By sending image data to our endpoint, your application can generate natural-looking animations of subjects transitioning into heart poses with smooth movements and realistic gestures. This API is perfect for integrating into dating applications, social expression platforms, greeting card services, or any service that would benefit from engaging, affectionate content. # AI Hip Shake Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/hip_shake POST /api/v2/videoeffect/generate/hip_shake Integrate AI-powered hip dance videos into your apps. Transform static images into dynamic animations with realistic lower-body movements and rhythm. ## Example Example output from the AI Hip Shake Video Generator API: ## API Overview The AI Hip Shake Video Generator API enables developers to programmatically create realistic videos of people performing hip-focused dance movements. By sending image data to our endpoint, your application can generate natural-looking animations with smooth hip rotations, realistic body physics, and rhythmic movement patterns. This API is perfect for integrating into entertainment applications, dance instruction platforms, social media content tools, or any service that would benefit from engaging, trendy dance content with a focus on hip motion. # AI Hug Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/hug POST /api/v2/videoeffect/generate/hug Integrate AI-powered hugging videos into your apps. Transform static images into realistic embraces with advanced motion algorithms and natural expressions. ## Example Example output from the AI Hug Video Generator API: ## API Overview The AI Hug Video Generator API enables developers to programmatically create realistic videos of people embracing each other. By sending image data to our endpoint, your application can generate natural-looking hugging animations with fluid movements and preserved emotional expressions. This API is perfect for integrating into social media platforms, messaging applications, content creation tools, or any service that would benefit from dynamic, emotionally engaging video content. # AI Jiggle Dance Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/jiggle_dance POST /api/v2/videoeffect/generate/jiggle_dance Integrate AI-powered dance videos into your apps. Transform static images into vibrant animations with realistic body movements and physics. ## Example Example output from the AI Jiggle Dance Video Generator API: ## API Overview The AI Jiggle Dance Video Generator API enables developers to programmatically create videos of people performing jiggle dance movements. By sending image data to our endpoint, your application can generate natural-looking dance animations with dynamic bouncing effects, rhythmic body movements, and realistic physics. This API is perfect for integrating into entertainment applications, social media content tools, dance-focused platforms, or any service that would benefit from engaging, energetic dance content. # AI Kiss Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/kiss POST /api/v2/videoeffect/generate/kiss Integrate AI-powered kissing videos into your apps. Transform static images into romantic scenes with realistic facial expressions and natural movements. ## Example Example output from the AI Kiss Video Generator API: ## API Overview The AI Kiss Video Generator API enables developers to programmatically create realistic videos of people kissing. By sending image data to our endpoint, your application can generate natural-looking kissing animations with smooth movements and authentic facial expressions. This API is perfect for integrating into dating applications, social media platforms, content creation tools, or any service that would benefit from dynamic, emotionally engaging romantic content. # AI Tongue Out Face Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/make_a_face POST /api/v2/videoeffect/generate/make_a_face Integrate AI-powered playful expression videos into your apps. Transform static images into amusing scenes with realistic tongue animations. ## Example Example output from the AI Tongue Out Face Video Generator API: ## API Overview The AI Tongue Out Face Video Generator API enables developers to programmatically create videos of subjects making playful tongue-out expressions. By sending image data to our endpoint, your application can generate natural-looking facial animations with realistic tongue movements, eye expressions, and head gestures. This API is perfect for integrating into social media applications, messaging platforms, entertainment tools, or any service that would benefit from engaging, humorous expression content. # AI Mermaid Spell Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/mermaid_spell POST /api/v2/videoeffect/generate/mermaid_spell Integrate AI-powered mermaid videos into your apps. Transform static images into magical underwater scenes with tail transformations. ## Example Example output from the AI Mermaid Spell Video Generator API: ## API Overview The AI Mermaid Spell Video Generator API enables developers to programmatically create videos of subjects transforming into mermaids. By sending image data to our endpoint, your application can generate magical transformation sequences with realistic tail morphing, underwater effects, and oceanic environments. This API is perfect for integrating into fantasy applications, children's entertainment platforms, storytelling tools, or any service that would benefit from engaging, enchanting underwater transformation content. # AI Muscle Show Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/muscle POST /api/v2/videoeffect/generate/muscle Integrate AI-powered muscle display videos into your apps. Transform ordinary images into impressive physique scenes with realistic flexing. ## Example Example output from the AI Muscle Show Video Generator API: ## API Overview The AI Muscle Show Video Generator API enables developers to programmatically create videos of subjects showcasing impressive musculature. By sending image data to our endpoint, your application can generate realistic muscle flexing animations with proper definition, posing sequences, and impressive physique display. This API is perfect for integrating into fitness applications, bodybuilding platforms, personal training services, or any platform that would benefit from engaging, physique-focused content. # AI Muscle Bodybuilding Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/muscle_bodybuilding POST /api/v2/videoeffect/generate/muscle_bodybuilding Integrate AI-powered muscle videos into your apps. Transform ordinary images into impressive bodybuilding displays with realistic definition. ## Example Example output from the AI Muscle Bodybuilding Video Generator API: ## API Overview The AI Muscle Bodybuilding Video Generator API enables developers to programmatically create videos of people transforming into muscular bodybuilders. By sending image data to our endpoint, your application can generate realistic muscle growth animations with progressive definition, flexing movements, and impressive physique enhancements. This API is perfect for integrating into fitness applications, workout platforms, personal transformation tools, or any service that would benefit from engaging, motivational body transformation content. # AI Sleep Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/nap_me POST /api/v2/videoeffect/generate/nap_me Integrate AI-powered sleeping videos into your apps. Transform static images into peaceful slumber scenes with realistic breathing patterns. ## Example Example output from the AI Sleep Video Generator API: ## API Overview The AI Sleep Video Generator API enables developers to programmatically create videos of subjects in peaceful slumber. By sending image data to our endpoint, your application can generate realistic sleeping animations with subtle breathing movements, relaxed facial expressions, and natural sleep postures. This API is perfect for integrating into wellness applications, sleep tracking services, meditation platforms, or any service that would benefit from calming, restful content. # AI Old Photo Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/old_photo_revival POST /api/v2/videoeffect/generate/old_photo_revival Integrate AI-powered photo animation into your apps. Breathe life into vintage images with subtle movements and period-appropriate effects. ## Example Example output from the AI Old Photo Revival Video Generator API: ## API Overview The AI Old Photo Revival Video Generator API enables developers to programmatically create videos that animate vintage photographs. By sending image data to our endpoint, your application can generate nostalgic animations with subtle movements, facial expressions, and environmental effects that preserve the historical aesthetic while adding lifelike motion. This API is perfect for integrating into genealogy applications, historical archives, memorial services, or any platform that would benefit from emotionally resonant historical content. # AI Pet-pocalypse Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/pet_pocalypse POST /api/v2/videoeffect/generate/pet_pocalypse Integrate AI-powered pet invasion videos into your apps. Transform static images into amusing scenes of pet domination with realistic animations. ## Example Example output from the AI Pet-pocalypse Video Generator API: ## API Overview The AI Pet-pocalypse Video Generator API enables developers to programmatically create humorous videos depicting pets taking over the world. By sending image data to our endpoint, your application can generate entertaining scenes featuring multiplied pet imagery, invasion scenarios, and playful domination themes. This API is perfect for integrating into pet-focused applications, social media content tools, or any service that would benefit from lighthearted, viral-worthy pet content. # AI Phut Hon Dance Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/phut-dance POST /api/v2/videoeffect/generate/phut-dance Integrate AI-powered Phut Hon dance videos into your apps. Transform static images into viral dance animations with trendy movements and rhythm. ## Example Example output from the AI Phut Hon Dance Video Generator API: ## API Overview The AI Phut Hon Dance Video Generator API enables developers to programmatically create videos of people performing the viral Phut Hon dance. By sending image data to our endpoint, your application can generate natural-looking dance animations with the signature moves, rhythmic timing, and energetic style of this popular internet trend. This API is perfect for integrating into social media applications, content creation platforms, entertainment services, or any platform that would benefit from engaging, trend-focused dance content. # AI Set On Fire Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/set_on_fire POST /api/v2/videoeffect/generate/set_on_fire Integrate AI-powered flame videos into your apps. Transform static images into dramatic scenes with realistic fire animations and lighting. ## Example Example output from the AI Set On Fire Video Generator API: ## API Overview The AI Set On Fire Video Generator API enables developers to programmatically create videos of subjects engulfed in realistic flames. By sending image data to our endpoint, your application can generate dynamic fire animations with authentic flame behavior, smoke effects, and interactive lighting. This API is perfect for integrating into entertainment applications, special effects platforms, gaming services, or any platform that would benefit from engaging, visually striking fire-based content. # AI Sleek Split Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/sleek_split POST /api/v2/videoeffect/generate/sleek_split Integrate AI-powered split videos into your apps. Transform static images into impressive flexibility scenes with realistic body mechanics. ## Example Example output from the AI Sleek Split Video Generator API: ## API Overview The AI Sleek Split Video Generator API enables developers to programmatically create videos of subjects performing impressive split movements. By sending image data to our endpoint, your application can generate natural-looking animations with realistic flexibility, proper body mechanics, and smooth motion sequences. This API is perfect for integrating into fitness applications, dance instruction platforms, gymnastic services, or any platform that would benefit from engaging, flexibility-focused content. # AI Smash Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/smash_it POST /api/v2/videoeffect/generate/smash_it Integrate AI-powered smash videos into your apps. Transform static images into dynamic scenes with realistic impact effects and animations. ## Example Example output from the AI Smash Video Generator API: ## API Overview The AI Smash Video Generator API enables developers to programmatically create videos of subjects smashing or breaking through surfaces. By sending image data to our endpoint, your application can generate dynamic impact animations with realistic physics, particle effects, and dramatic visual elements. This API is perfect for integrating into gaming applications, action-focused platforms, entertainment tools, or any service that would benefit from engaging, high-energy impact content. # AI Spitfire Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/spitfire POST /api/v2/videoeffect/generate/spitfire Integrate AI-powered fire effects into your apps. Transform static images into dramatic videos with realistic flame generation and physics. ## Example Example output from the AI Spitfire Video Generator API: ## API Overview The AI Spitfire Video Generator API enables developers to programmatically create videos of subjects breathing or spitting fire. By sending image data to our endpoint, your application can generate realistic fire effects with dynamic flame patterns, particle physics, and authentic lighting interactions. This API is perfect for integrating into entertainment applications, special effects platforms, fantasy-themed services, or any platform that would benefit from engaging, visually striking fire-breathing content. # AI Squat Shake Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/squat_shake POST /api/v2/videoeffect/generate/squat_shake Integrate AI-powered squat dance videos into your apps. Transform static images into energetic scenes with realistic lower-body movements. ## Example Example output from the AI Squat Shake Video Generator API: ## API Overview The AI Squat Shake Video Generator API enables developers to programmatically create videos of subjects performing squat-based dance movements. By sending image data to our endpoint, your application can generate natural-looking animations with realistic lower body mechanics, rhythmic movements, and dynamic energy. This API is perfect for integrating into fitness applications, dance instruction platforms, social media content tools, or any service that would benefit from engaging, energetic dance content. # AI Thunder God Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/thunder_god POST /api/v2/videoeffect/generate/thunder_god Integrate AI-powered lightning videos into your apps. Transform static images into epic scenes with electricity effects and dramatic elements. ## Example Example output from the AI Thunder God Video Generator API: ## API Overview The AI Thunder God Video Generator API enables developers to programmatically create videos of subjects wielding lightning powers. By sending image data to our endpoint, your application can generate dynamic electrical effects with realistic lightning bolts, energy discharges, and atmospheric interactions. This API is perfect for integrating into entertainment applications, superhero-themed platforms, gaming services, or any platform that would benefit from engaging, visually powerful thunder and lightning content. # AI Titan Stride Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/titan_stride POST /api/v2/videoeffect/generate/titan_stride Integrate AI-powered giant transformation videos into your apps. Create scenes of subjects as colossal titans with realistic scale and impact. ## Example Example output from the AI Titan Stride Video Generator API: ## API Overview The AI Titan Stride Video Generator API enables developers to programmatically create videos of subjects transformed into gigantic titans. By sending image data to our endpoint, your application can generate realistic giant transformations with appropriate scale effects, ground-shaking movements, and environmental interactions. This API is perfect for integrating into entertainment applications, anime-inspired platforms, fantasy gaming services, or any platform that would benefit from engaging, larger-than-life character content. # AI Turning Metal Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/turning_metal POST /api/v2/videoeffect/generate/turning_metal Integrate AI-powered metallic transformation videos into your apps. Transform images into dynamic scenes with realistic metal textures and reflections. ## Example Example output from the AI Turning Metal Video Generator API: ## API Overview The AI Turning Metal Video Generator API enables developers to programmatically create videos of subjects transforming into metallic versions of themselves. By sending image data to our endpoint, your application can generate realistic metal transformation sequences with appropriate reflectivity, texture changes, and material properties. This API is perfect for integrating into entertainment applications, sci-fi themed platforms, special effects tools, or any service that would benefit from engaging, visually striking metallic transformation content. # AI Twerk Dance Video Generator API Source: https://docs.goenhance.ai/api-reference/video-effects/templates/twerk_dance POST /api/v2/videoeffect/generate/twerk_dance Integrate AI-powered twerk dance videos into your apps. Transform static images into dynamic animations with realistic hip movements and natural rhythm. ## Example Example output from the AI Twerk Dance Video Generator API: ## API Overview The AI Twerk Dance Video Generator API enables developers to programmatically create realistic videos of people performing twerk dance movements. By sending image data to our endpoint, your application can generate natural-looking dance animations with smooth hip movements, realistic body physics, and synchronized rhythm. This API is perfect for integrating into entertainment applications, social media platforms, content creation tools, or any service that would benefit from engaging, viral-worthy dance content. # AI Dance · Move Source: https://docs.goenhance.ai/api-reference/video-generations/ai-dance-move api-reference/video-generations/openapi-ai-dance-move.json POST /api/v1/videos/generations Make the person in your image dance by following the motion of a reference video. By default the whole reference video is used. Pass `duration` to render only its first N seconds — billing follows that value. **Pricing** — per second of generated video (rounded up), in tokens (USD at $0.02/token): | resolution | tokens/s | USD/s | per 5s | |---|---|---|---| | 480p | 2 | $0.04 | $0.20 | | 720p | 4 | $0.08 | $0.40 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # AI Dance Move v2 Source: https://docs.goenhance.ai/api-reference/video-generations/ai-dance-move-v2 api-reference/video-generations/openapi-ai-dance-move-v2.json POST /api/v1/videos/generations Make the person in your image dance by following the motion of a reference video, powered by Wan Animate 2 — stronger identity consistency on long clips, and the reference video's audio track is kept in the output. This model was previously called `wan-animate-2`. The old name is still accepted, so existing integrations keep working — new integrations should use `ai_dance_move_v2`. By default the whole reference video is used. Pass `duration` to render only its first N seconds — billing follows that value. Optionally pass `prompt` (appearance of the character) and `pose_prompt` (how the motion should look) to steer the generation. **Pricing** — per second of generated video (rounded up), in tokens (USD at $0.02/token): | resolution | tokens/s | USD/s | per 5s | |---|---|---|---| | 480p | 2 | $0.04 | $0.20 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # AI Dance · Replace Source: https://docs.goenhance.ai/api-reference/video-generations/ai-dance-replace api-reference/video-generations/openapi-ai-dance-replace.json POST /api/v1/videos/generations Make the person in your image dance by following the motion of a reference video. By default the whole reference video is used. Pass `duration` to render only its first N seconds — billing follows that value. **Pricing** — per second of generated video (rounded up), in tokens (USD at $0.02/token): | resolution | tokens/s | USD/s | per 5s | |---|---|---|---| | 480p | 2 | $0.04 | $0.20 | | 720p | 4 | $0.08 | $0.40 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # AI Dance Replace v2 Source: https://docs.goenhance.ai/api-reference/video-generations/ai-dance-replace-v2 api-reference/video-generations/openapi-ai-dance-replace-v2.json POST /api/v1/videos/generations Replace the person in a reference video with the character from your image. The original background, lighting, motion and audio track are kept — only the person is swapped. By default the whole reference video is used (it must be 5–30 seconds long). Pass `duration` to render only its first N seconds — billing follows that value. Optionally pass `prompt` to describe the output video (the character's appearance, the motion and the scene). **Tips** — a full-body image of a single character works best, and the reference video should show one clearly visible person. Everything else in the frame is kept as-is, including any logos, watermarks or text in the original video. **Pricing** — per second of generated video (rounded up), in tokens (USD at $0.02/token): | resolution | tokens/s | USD/s | per 5s | |---|---|---|---| | 480p | 2 | $0.04 | $0.20 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # AI Talking Avatar Source: https://docs.goenhance.ai/api-reference/video-generations/ai-talking-avatar api-reference/video-generations/openapi-ai-talking-avatar.json POST /api/v1/videos/generations AI Talking Avatar. **How it works** — one portrait image plus one audio track: the person in the image speaks the audio, lip-synced. **Output length** — by default the video is as long as your audio. Before any tokens are deducted, GoEnhance transfers `audio_url` to its own storage and measures the real duration — that measurement is what you are billed for, and it is also what enforces the 3-60s limit. Because the file is measured and then sent onward from GoEnhance's storage, swapping the URL afterwards has no effect. To make a shorter video, set the optional `duration` (whole seconds, 3-60): only the first `duration` seconds of the audio are used, and you are billed for `duration` seconds. It cannot exceed the audio length. With `duration` set, the audio itself may be longer than 60 seconds. **Audio requirements** — 3-60 seconds (or at least `duration` seconds when `duration` is set), up to 50MB. Clear speech with little background noise gives the best lip sync. **Portrait requirements** — up to 10MB. The face must be clearly visible, unobstructed and roughly front-facing. **Pricing** — per second of output (the audio length, or `duration` when set), in tokens (USD at $0.02/token): | resolution | tokens/s | USD/s | |---|---|---| | 540p | 0.5 | $0.01 | | 720p | 1 | $0.02 | A 30-second clip therefore costs 15 tokens at 540p (= $0.30). At 720p the same clip costs 30 tokens (= $0.60). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # AI Talking Avatar (Video) Source: https://docs.goenhance.ai/api-reference/video-generations/ai-talking-avatar-video api-reference/video-generations/openapi-ai-talking-avatar-video.json POST /api/v1/videos/generations AI Talking Avatar from a video. **How it works** — one video of a person plus one audio track: the person in the video speaks the audio. The whole frame is regenerated with your video as the reference, so head movement and facial expressions follow the speech — not just the lips. To only redraw the mouth and keep every other pixel of your video, use `lipsync-video` instead; to start from a single photo, use `ai-talking-avatar`. **Output length** — set by `video_mode` when the video and the audio have different lengths: | video_mode | output length | |---|---| | `normal` (default) | the shorter of the video and the audio | | `loop` | the audio length; a shorter video is played forward and backward until it covers the audio | Before any tokens are deducted, GoEnhance transfers both files to its own storage and measures their real durations — that measurement is what you are billed for, and it is also what enforces the 3-60s limit. Because the files are measured and then sent onward from GoEnhance's storage, swapping the URLs afterwards has no effect. To make a shorter video, set the optional `duration` (whole seconds, 3-60): only the first `duration` seconds are used, and you are billed for `duration` seconds. It cannot exceed the output length above. With `duration` set, the video and the audio themselves may be longer than 60 seconds. **Video requirements** — up to 300MB. One person, face clearly visible and roughly front-facing for most of the clip. The output keeps the framing of your video. **Audio requirements** — up to 50MB. Clear speech with little background noise gives the best lip sync. **Pricing** — per second of output, in tokens (USD at $0.02/token): | resolution | tokens/s | USD/s | |---|---|---| | 540p | 1 | $0.02 | | 720p | 1.5 | $0.03 | A 30-second clip therefore costs 30 tokens at 540p (= $0.60). At 720p the same clip costs 45 tokens (= $0.90). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Anime Video Upscaler Source: https://docs.goenhance.ai/api-reference/video-generations/anime-upscaler api-reference/video-generations/openapi-anime-upscaler.json POST /api/v1/videos/generations Real-ESRGAN anime video upscaling: bring an existing anime clip up to 1080p, 2K or 4K. **How it differs from `video-upscaler`** — this endpoint runs a model trained specifically on animation. Line art stays sharp and flat colour areas stay flat, instead of being smoothed into the mushy texture a general-purpose upscaler tends to produce on drawn content. For live action, use `video-upscaler` instead. **Pricing** — per second of the **source video**, by target resolution (USD at $0.02/token): | resolution | tokens/s | USD/s | |---|---|---| | 1080p | 1 | $0.02 | | 2K | 2 | $0.04 | | 4K | 4 | $0.08 | A 60-second clip therefore costs 60 tokens at 1080p (= $1.20). The same clip costs 120 tokens at 2K (= $2.40). At 4K it costs 240 tokens (= $4.80). ⚠️ **There is no `duration` parameter.** The source video is measured server-side and the whole clip is upscaled; the measured length, rounded up to whole seconds, is what you are charged for. **Source video requirements:** | | | |---|---| | max length | **180s** — the same at every target resolution | | max short side | **1080 pixels** (portrait or landscape) | | max file size | 300MB | | codec | av1 is not supported | A clip that breaks any of these is rejected before any tokens are deducted — it is never silently truncated. The short-side limit is not an arbitrary quota: a source that is already above 1080p has nothing left to recover, so upscaling it would cost you the top rate for what amounts to a resize. **Output** — duration, frame rate and aspect ratio all follow the source; no frames are interpolated or dropped. The result carries no watermark. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the upscaled video. # Gemini Omni 1.2 Flash Source: https://docs.goenhance.ai/api-reference/video-generations/gemini-omni-1-2-flash api-reference/video-generations/openapi-gemini-omni-1-2-flash.json POST /api/v1/videos/generations Gemini Omni 1.2 Flash, Google's multimodal video model. Text-to-video, image-to-video from a first frame, first & last frame interpolation, and generation guided by up to **10 reference images**. Clips run **3-15 seconds** at 24fps. **Audio** — every generated video comes with a native audio track (dialogue, music or sound effects, described in the prompt). It is always on: the model has no switch for it, so turning `sound` / `generate_audio` off is rejected. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Text-to-video, image-to-video and reference images cost the same; frames and reference images are not charged: | resolution | tokens/s | USD/s | |---|---|---| | 360p | 1.3 | $0.026 | | 720p | 3.9 | $0.078 | | 1080p | 5.876 | $0.11752 | | 4k | 11.752 | $0.23504 | Example: a 10-second video at 720p costs 39 tokens. 1080p and 4k are upscaled by the model. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Not accepted by this model** (rejected before any tokens are charged): turning audio off, `negative_prompt` (describe what to avoid in `prompt`), `seed`, middle `keyframes`, combining first / last frames with `image_urls`, and video input (editing or extending a video is not available yet). # Gemini Omni Video Source: https://docs.goenhance.ai/api-reference/video-generations/gemini-omni-video api-reference/video-generations/openapi-gemini-omni-video.json POST /api/v1/videos/generations Gemini Omni Video — image-to-video with synchronized native audio. Supply one or more input images via `image_urls` and describe the transformation and sound design in `prompt`. **Pricing** — fixed per generation, in tokens (USD at $0.02/token). 720p and 1080p share the same price: | resolution | 4s | 6s | 8s | 10s | |---|---|---|---|---| | 720p / 1080p | 20.48 ($0.4096) | 27.3 ($0.546) | 34.13 ($0.6826) | 40.95 ($0.819) | | 4k | 47.78 ($0.9556) | 54.6 ($1.092) | 61.43 ($1.2286) | 68.25 ($1.365) | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Grok Imagine Source: https://docs.goenhance.ai/api-reference/video-generations/grok-imagine api-reference/video-generations/openapi-grok-imagine.json POST /api/v1/videos/generations Grok Imagine text-to-video and image-to-video. Pass `image_url` for a **single** reference image, or omit it for pure text-to-video. For 2-7 reference images use `grok_imagine_refs` (480p / 720p only). **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Same 480p / 720p rates as `grok_imagine_1_5` (its 1080p rate is higher): | resolution | tokens/s | USD/s | |---|---|---| | 480p | 2.5 | $0.05 | | 720p | 4.7 | $0.094 | | 1080p | 8.3 | $0.166 | Example: a 6s 720p video costs 28.2 tokens (= $0.564). A 10s 480p video costs 25 tokens (= $0.50). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Grok Imagine 1.5 Source: https://docs.goenhance.ai/api-reference/video-generations/grok-imagine-1-5 api-reference/video-generations/openapi-grok-imagine-1-5.json POST /api/v1/videos/generations Grok Imagine 1.5 text-to-video and image-to-video. `image_url` is **optional**: omit it for pure text-to-video, or pass a single reference image to animate it. For 2-7 reference images use `grok_imagine_1_5_refs`. 1080p videos take longer to finish than 480p or 720p. **First / last frame** — optionally pass `first_frame_url` and/or `last_frame_url` to pin the opening and closing shots. They can be used alone or together with reference images. Pass the same image for both to get a seamless loop. First and last frames do not change the price. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). 1080p costs twice the 720p rate: | resolution | tokens/s | USD/s | |---|---|---| | 480p | 2.5 | $0.05 | | 720p | 4.7 | $0.094 | | 1080p | 9.4 | $0.188 | Example: an 8s 480p video costs 20 tokens (= $0.40). An 8s 720p video costs 37.6 tokens (= $0.752). An 8s 1080p video costs 75.2 tokens (= $1.504). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Grok Imagine 1.5 Refs Source: https://docs.goenhance.ai/api-reference/video-generations/grok-imagine-1-5-refs api-reference/video-generations/openapi-grok-imagine-1-5-refs.json POST /api/v1/videos/generations Grok Imagine 1.5 with **multiple reference images** (1-7). Use this endpoint when you have more than one reference image; for a single image you can also use `grok_imagine_1_5`, which additionally supports pure text-to-video. 1080p videos take longer to finish than 480p or 720p. **`image_urls` is required** — this model animates reference images and does not support pure text-to-video. **First / last frame** — optionally pass `first_frame_url` and/or `last_frame_url` to pin the opening and closing shots. They can be used alone or together with reference images. Pass the same image for both to get a seamless loop. First and last frames do not change the price. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Same rates as `grok_imagine_1_5`; the number of reference images does not affect the price: | resolution | tokens/s | USD/s | |---|---|---| | 480p | 2.5 | $0.05 | | 720p | 4.7 | $0.094 | | 1080p | 9.4 | $0.188 | Example: an 8s 480p video costs 20 tokens (= $0.40). An 8s 720p video costs 37.6 tokens (= $0.752). An 8s 1080p video costs 75.2 tokens (= $1.504). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Grok Imagine Refs Source: https://docs.goenhance.ai/api-reference/video-generations/grok-imagine-refs api-reference/video-generations/openapi-grok-imagine-refs.json POST /api/v1/videos/generations Grok Imagine with **multiple reference images** (1-7). Use this endpoint when you have more than one reference image; for text-to-video or a single image use `grok_imagine`, which additionally supports 1080p. **`image_urls` is required** — this endpoint does not support text-to-video. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Same rates as `grok_imagine`; the number of reference images does not affect the price: | resolution | tokens/s | USD/s | |---|---|---| | 480p | 2.5 | $0.05 | | 720p | 4.7 | $0.094 | Example: a 6s 480p video costs 15 tokens (= $0.30). A 10s 720p video costs 47 tokens (= $0.94). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Hailuo 2.3 Source: https://docs.goenhance.ai/api-reference/video-generations/hailuo-2-3 api-reference/video-generations/openapi-hailuo-2-3.json POST /api/v1/videos/generations Hailuo 2.3. Text-to-video and image-to-video (pass `image_url` for a first-frame image). **Pricing** — per video, in tokens (USD at $0.02/token): | resolution | duration | tokens | USD | |---|---|---|---| | 768P | 6s | 18.2 | $0.364 | | 768P | 10s | 36.4 | $0.728 | | 1080P | 6s | 31.85 | $0.637 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Hailuo 2.3 Fast Source: https://docs.goenhance.ai/api-reference/video-generations/hailuo-2-3-fast api-reference/video-generations/openapi-hailuo-2-3-fast.json POST /api/v1/videos/generations Hailuo 2.3 Fast. Text-to-video and image-to-video (pass `image_url` for a first-frame image). **Pricing** — per video, in tokens (USD at $0.02/token): | resolution | duration | tokens | USD | |---|---|---|---| | 768P | 6s | 12.35 | $0.247 | | 768P | 10s | 20.8 | $0.416 | | 1080P | 6s | 21.45 | $0.429 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # HappyHorse 1.1 Source: https://docs.goenhance.ai/api-reference/video-generations/happyhorse-1-1 api-reference/video-generations/openapi-happyhorse-1-1.json POST /api/v1/videos/generations HappyHorse 1.1 text-to-video and image-to-video. Pass `image_url` for a first-frame image, or omit it for pure text-to-video. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). **Limited-time offer: 20% below official pricing.** | resolution | tokens/s | our price /s | official /s | |---|---|---|---| | 720p | 5.2 | $0.104 | $0.13 | | 1080p | 7.2 | $0.144 | $0.18 | Example: a 5s 720p video costs 26 tokens (= $0.52). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # HappyHorse 1.1 Reference Source: https://docs.goenhance.ai/api-reference/video-generations/happyhorse-1-1-ref api-reference/video-generations/openapi-happyhorse-1-1-ref.json POST /api/v1/videos/generations HappyHorse 1.1 reference-to-video. **`image_urls` is required** (1-9 images) — this model blends reference images and does not support pure text-to-video. Reference each image in the prompt as `[Image 1]`, `[Image 2]`, etc. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). **Limited-time offer: 20% below official pricing.** | resolution | tokens/s | our price /s | official /s | |---|---|---|---| | 720p | 5.2 | $0.104 | $0.13 | | 1080p | 7.2 | $0.144 | $0.18 | Example: a 5s 720p video costs 26 tokens (= $0.52). Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Kling 2.5 Turbo Source: https://docs.goenhance.ai/api-reference/video-generations/kling-2-5-turbo api-reference/video-generations/openapi-kling-2-5-turbo.json POST /api/v1/videos/generations Kling 2.5 Turbo. Cost-effective. Text-to-video and image-to-video, supports first & last frame. No native audio. **Pricing** — per second of generated video, in tokens (USD at $0.02/token): | resolution | tokens/s | USD/s | |---|---|---| | 720p | 1.89 | $0.038 | | 1080p | 3.15 | $0.063 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Now served by Kling's current API.** Two changes came with that move: **a first + last frame pair now requires `resolution: 1080p`** (a 720p request carrying `image_end_url` is rejected up front rather than silently billed at 720p and produced at 1080p), and **`negative_prompt` has been removed** — the current API has no such field, so put negative descriptions in `prompt`. ⚠️ Note the direction: [`kling-2-6`](/api-reference/video-generations/kling-2-6) has the same first+last-frame rule but locked to **720p** instead. They are opposite. # Kling 2.6 Source: https://docs.goenhance.ai/api-reference/video-generations/kling-2-6 api-reference/video-generations/openapi-kling-2-6.json POST /api/v1/videos/generations Kling 2.6 text-to-video and image-to-video, with optional native audio and designated voices. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Same as the official rate: | configuration | 720p | 1080p | |---|---|---| | No native audio | 2.1 tokens/s ($0.042) | 3.5 tokens/s ($0.07) | | Native audio | not available | 7 tokens/s ($0.14) | | Native audio + voice | not available | 8.4 tokens/s ($0.168) | ⚠️ **A designated voice is a separate price tier**, not a free extra — it is 20% above plain native audio. ⚠️ **Three model constraints interact, and this endpoint rejects impossible combinations up front (before any tokens are deducted):** 1. `voice_ids` requires `generate_audio: true` — a designated voice cannot be silent. 2. `generate_audio: true` requires `resolution: 1080p` — Kling publishes no 720p audio tier. 3. A first **and** last frame requires `resolution: 720p`. Rules 2 and 3 are mutually exclusive: **on Kling 2.6 you cannot combine a first+last frame pair with native audio or voices.** Drop `image_end_url`, or drop `generate_audio`. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Kling 3.0 Source: https://docs.goenhance.ai/api-reference/video-generations/kling-3-0 api-reference/video-generations/openapi-kling-3-0.json POST /api/v1/videos/generations Kling 3.0. Highest quality with the full feature set: text-to-video, image-to-video, first & last frame, native audio and multi-shot. **Pricing** — per second of generated video, in tokens (USD at $0.02/token): | resolution | sound off | sound on | |---|---|---| | 720p | 4.2 ($0.084) | 6.3 ($0.126) | | 1080p | 5.6 ($0.112) | 8.4 ($0.168) | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Now served by Kling's current API.** Two changes came with that move: **4K is available** (the previous integration could only reach std/pro, i.e. 720p/1080p), and **`negative_prompt` has been removed** — the current API has no such field, so put negative descriptions in `prompt`. ⚠️ At 4K, sound on and sound off cost the same (21 tokens/s = $0.42). That is the official rate. # Kling 3.0 Turbo Source: https://docs.goenhance.ai/api-reference/video-generations/kling-3-0-turbo api-reference/video-generations/openapi-kling-3-0-turbo.json POST /api/v1/videos/generations Kling 3.0 Turbo. Faster generation. Text-to-video and image-to-video. Does not support native audio, last frame, multi-shot or elements. **Pricing** — per second of generated video, in tokens (USD at $0.02/token): | resolution | tokens/s | USD/s | |---|---|---| | 720p | 5.6 | $0.112 | | 1080p | 7 | $0.140 | Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Kling 4.0 Source: https://docs.goenhance.ai/api-reference/video-generations/kling-4-0 api-reference/video-generations/openapi-kling-4-0.json POST /api/v1/videos/generations Kling 4.0, Kuaishou's flagship video model. Text-to-video and image-to-video with single takes of up to **30 seconds**: start from a first frame, guide the take through up to 8 middle `keyframes`, and optionally end on a last frame. **Audio** — every generated video comes with a native audio track. It is always on: the model has no switch for it, so `sound` / `generate_audio` are rejected. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Text-to-video and image-to-video cost the same; first, middle and last frames are not charged: | resolution | tokens/s | USD/s | |---|---|---| | 720p | 10.205 | $0.2041 | | 1080p | 15.275 | $0.3055 | Example: a 5-second video at 720p costs 51.03 tokens. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Not accepted by this model** (rejected before any tokens are charged): `sound` / `generate_audio` (audio is always generated), `negative_prompt` (describe what to avoid in `prompt`), `model_params.multi_shot` (use `keyframes` to guide one take), reference images (`image_urls`; use [Kling 4.0 Reference to Video](/api-reference/video-generations/kling-4-0-refs)), and 4K. # Kling 4.0 Video Edit Source: https://docs.goenhance.ai/api-reference/video-generations/kling-4-0-edit api-reference/video-generations/openapi-kling-4-0-edit.json POST /api/v1/videos/generations Kling 4.0 video edit. Change an existing clip with a prompt — swap outfits, restyle the scene, regrade the colors — optionally guided by up to **10 style reference images**. The output keeps the aspect ratio and the original audio of your video. Refer to the source video in `prompt` as `<<>>` and to reference images as `<<>>`, `<<>>` … in the order of `image_urls`. **Pricing** — in tokens (USD at $0.02/token), billed on **output seconds + max(source video seconds, output seconds)**: | resolution | tokens/s | USD/s | |---|---|---| | 720p | 6.11 | $0.1222 | | 1080p | 9.165 | $0.1833 | The source video length is measured from your file before any tokens are charged, and rounded up to a whole second. With the default `duration: "auto"` the output is as long as the source, so a request is billed for twice the source length. Reference images are not charged. Examples at 720p: - 5-second source, `duration` auto: 10 billed seconds, 61.1 tokens (= $1.222) - 10-second source, `duration` 20: 40 billed seconds, 244.4 tokens (= $4.888) Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the edited video. **Not accepted by this model** (rejected before any tokens are charged): `ratio` / `aspect_ratio` (the output follows the source video), `sound` / `generate_audio` (the output always keeps the audio of your video), `negative_prompt`, `image_url` / `image_end_url` / `keyframes`, and 4K. # Kling 4.0 Flash Source: https://docs.goenhance.ai/api-reference/video-generations/kling-4-0-flash api-reference/video-generations/openapi-kling-4-0-flash.json POST /api/v1/videos/generations Kling 4.0 Flash, the faster and lower-cost version of Kuaishou's Kling 4.0. Text-to-video, or image-to-video from a **first frame**. 720p only, single takes of up to **20 seconds**. **Audio** — every generated video comes with a native audio track. It is always on: the model has no switch for it, so `sound` / `generate_audio` are rejected. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Text-to-video and image-to-video cost the same: | resolution | tokens/s | USD/s | |---|---|---| | 720p | 5.5715 | $0.11143 | Example: a 5-second video costs 27.86 tokens. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Not accepted by this model** (rejected before any tokens are charged): `image_end_url` and `keyframes` (Flash takes a first frame only — use [Kling 4.0](/api-reference/video-generations/kling-4-0) for last and middle frames), reference images or videos (use [Kling 4.0 Flash Reference to Video](/api-reference/video-generations/kling-4-0-flash-refs)), `sound` / `generate_audio` (audio is always generated), `negative_prompt`, `seed`, `model_params.multi_shot`, and 1080p / 4K. # Kling 4.0 Flash Video Edit Source: https://docs.goenhance.ai/api-reference/video-generations/kling-4-0-flash-edit api-reference/video-generations/openapi-kling-4-0-flash-edit.json POST /api/v1/videos/generations Kling 4.0 Flash video edit. Change an existing clip of **3 to 20 seconds** with a prompt — swap outfits, restyle the scene, regrade the colors — optionally guided by up to **10 style reference images**. 720p only. The output keeps the aspect ratio and the original audio of your video. Refer to the source video in `prompt` as `<<>>` and to reference images as `<<>>`, `<<>>` … in the order of `image_urls`. **Pricing** — in tokens (USD at $0.02/token), billed on **output seconds + max(source video seconds, output seconds)**: | resolution | tokens/s | USD/s | |---|---|---| | 720p | 3.7143 | $0.074286 | The source video length is measured from your file before any tokens are charged, and rounded up to a whole second. With the default `duration: "auto"` the output is as long as the source, so a request is billed for twice the source length. Reference images are not charged. Examples: - 5-second source, `duration` auto: 10 billed seconds, 37.14 tokens (= $0.7428) - 10-second source, `duration` 20: 40 billed seconds, 148.57 tokens (= $2.9714) Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the edited video. **Not accepted by this model** (rejected before any tokens are charged): source videos longer than 20 seconds (they are not trimmed), `ratio` / `aspect_ratio` (the output follows the source video), `sound` / `generate_audio` (the output always keeps the audio of your video), `negative_prompt`, `seed`, `image_url` / `image_end_url` / `keyframes`, and 1080p / 4K. # Kling 4.0 Flash Reference to Video Source: https://docs.goenhance.ai/api-reference/video-generations/kling-4-0-flash-refs api-reference/video-generations/openapi-kling-4-0-flash-refs.json POST /api/v1/videos/generations Kling 4.0 Flash reference-to-video. Guide generation with up to **10 reference images** (style, scene, subject) and up to **5 reference videos** (motion, camera work and other features to imitate — the videos are not edited). 720p only, single takes of up to **20 seconds**. **Audio** — every generated video comes with a native audio track. It is always on: the model has no switch for it, so `sound` / `generate_audio` are rejected. Refer to your assets in `prompt` as `<<>>`, `<<>>`, `<<>>` …, numbered from 1 in the order of `image_urls` and `video_urls`. At least one image or video is required. **Pricing** — in tokens (USD at $0.02/token). With reference images only, the price is the same as Kling 4.0 Flash and only the generated seconds are billed. With reference videos, a lower per-second rate applies to **output seconds + max(total reference video seconds, output seconds)**: | references | tokens/s | USD/s | billed seconds | |---|---|---|---| | images only | 5.5715 | $0.11143 | output | | with reference videos | 3.7143 | $0.074286 | output + max(reference videos, output) | The total reference video length is measured from your files before any tokens are charged, and rounded up to a whole second. Reference images are not charged. Examples: - 5 seconds with reference images only: 27.86 tokens (= $0.5572) - 5 seconds with an 8-second reference video: 13 billed seconds, 48.29 tokens (= $0.9658) - 10 seconds with a 5-second reference video: 20 billed seconds, 74.29 tokens (= $1.4858) Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Not accepted by this model** (rejected before any tokens are charged): `image_url` / `image_end_url` / `keyframes` (use [Kling 4.0 Flash](/api-reference/video-generations/kling-4-0-flash) for a first frame), reference audio, `sound` / `generate_audio` (audio is always generated), `negative_prompt`, `seed`, `model_params.multi_shot`, and 1080p / 4K. # Kling 4.0 Reference to Video Source: https://docs.goenhance.ai/api-reference/video-generations/kling-4-0-refs api-reference/video-generations/openapi-kling-4-0-refs.json POST /api/v1/videos/generations Kling 4.0 reference-to-video. Guide generation with up to **10 reference images** (style, scene, subject) and up to **5 reference videos** (motion, camera work and other features to imitate — the videos are not edited). Single takes of up to **30 seconds**. **Audio** — every generated video comes with a native audio track. It is always on: the model has no switch for it, so `sound` / `generate_audio` are rejected. Refer to your assets in `prompt` as `<<>>`, `<<>>`, `<<>>` …, numbered from 1 in the order of `image_urls` and `video_urls`. At least one image or video is required. **Pricing** — in tokens (USD at $0.02/token). With reference images only, the price is the same as Kling 4.0 and only the generated seconds are billed. With reference videos, a lower per-second rate applies to **output seconds + max(total reference video seconds, output seconds)**: | references | resolution | tokens/s | USD/s | billed seconds | |---|---|---|---|---| | images only | 720p | 10.205 | $0.2041 | output | | images only | 1080p | 15.275 | $0.3055 | output | | with reference videos | 720p | 6.11 | $0.1222 | output + max(reference videos, output) | | with reference videos | 1080p | 9.165 | $0.1833 | output + max(reference videos, output) | The total reference video length is measured from your files before any tokens are charged, and rounded up to a whole second. Reference images are not charged. Examples at 720p: - 5 seconds with reference images only: 51.03 tokens (= $1.0206) - 5 seconds with an 8-second reference video: 13 billed seconds, 79.43 tokens (= $1.5886) - 10 seconds with a 5-second reference video: 20 billed seconds, 122.2 tokens (= $2.444) Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Not accepted by this model** (rejected before any tokens are charged): `image_url` / `image_end_url` / `keyframes` (use [Kling 4.0](/api-reference/video-generations/kling-4-0) for first, middle and last frames), `sound` / `generate_audio` (audio is always generated), `negative_prompt` (describe what to avoid in `prompt`), `model_params.multi_shot`, and 4K. # Kling O1 Source: https://docs.goenhance.ai/api-reference/video-generations/kling-o1 api-reference/video-generations/openapi-kling-o1.json POST /api/v1/videos/generations Kling O1 omni video. Drive generation with any combination of a first frame, a first+last frame pair, reference images, multi-image elements and one reference video. ⚠️ **Kling O1 is not a drop-in for `kling-v3-omni`.** They are in the same model family, but O1's capability set is a strict subset: no multi-shot, no 4K, no generated audio, duration caps at 10s, and prompts cap at 2500 characters. **Referring to materials in the prompt** — every material gets an index you can mention with `@`: elements are numbered `@element_1…`, images are numbered `@image_1…` in the order first frame → last frame → `ref_imgs`, and the reference video is always `@video_1`. **The array order is the numbering**, so reordering `ref_imgs` changes what your prompt refers to. **Material limits** — `image_url` + `image_end_url` + `ref_imgs` + `element_ids` must not exceed **7** in total, or **4** when `ref_videos` is used. Using a first *and* last frame together disallows any additional `ref_imgs` / `element_ids`. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Same as the official rate: | resolution | no video input | with video input | |---|---|---| | 720p | 4.2 tokens/s ($0.084) | 6.3 tokens/s ($0.126) | | 1080p | 5.6 tokens/s ($0.112) | 8.4 tokens/s ($0.168) | There is no audio surcharge: O1 cannot *generate* audio — `generate_audio` only keeps the reference video's original sound, which is already priced into the "with video input" tier. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Reference materials use the shared naming**: `ref_imgs` and `ref_videos`, the same as seedance / hailuo / wan's reference endpoints. `ref_videos` is an array capped at 1. The older `image_urls` / `video_url` spellings still work. ⚠️ Do not confuse `image_url` (first frame) with `ref_imgs` (reference images) — they are different inputs and count against the same material budget. # Kling 2.6 Motion Control Source: https://docs.goenhance.ai/api-reference/video-generations/kling-v2-6-motion api-reference/video-generations/openapi-kling-v2-6-motion.json POST /api/v1/videos/generations Kling 2.6 Motion Control. **How it works** — one appearance reference (an image, or an element on the 3.0 version) plus one motion reference video: the character from the image performs the motion from the video. ⚠️ **There is no `duration` parameter, and this endpoint rejects one.** The output length follows your motion video. Before any tokens are deducted, GoEnhance transfers `video_url` to its own storage and measures the real duration — that measurement is what you are billed for, and it is also what enforces the length limits below. Because the file is measured and then sent onward from GoEnhance's storage, swapping the URL afterwards has no effect. **Motion video requirements** — .mp4 / .mov, ≤100MB, 340–3850px, and: | character_orientation | motion video length | |---|---| | `video` (default) | 3–30s | | `image` | 3–10s | ⚠️ Kling bills on the **output** length, and the model only extracts usable continuous motion — so a difficult or very fast motion can produce a video shorter than the input. GoEnhance charges the measured input length, which is an upper bound. ⚠️ `audio` has no `native` option here: `generate_audio` keeps the **motion video's original sound**. It defaults to off, because that soundtrack is often copyrighted material you did not author. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Same as the official rate: | resolution | tokens/s | USD/s | |---|---|---| | 720p | 3.5 | $0.07 | | 1080p | 5.6 | $0.112 | Every parameter matches [`kling-v3-motion`](/api-reference/video-generations/kling-v3-motion) except that **this version has no `element_ids`** — the appearance reference must be an image. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Kling V3 Motion Control Source: https://docs.goenhance.ai/api-reference/video-generations/kling-v3-motion api-reference/video-generations/openapi-kling-v3-motion.json POST /api/v1/videos/generations Kling V3 Motion Control. **How it works** — one appearance reference (an image, or an element on the 3.0 version) plus one motion reference video: the character from the image performs the motion from the video. ⚠️ **There is no `duration` parameter, and this endpoint rejects one.** The output length follows your motion video. Before any tokens are deducted, GoEnhance transfers `video_url` to its own storage and measures the real duration — that measurement is what you are billed for, and it is also what enforces the length limits below. Because the file is measured and then sent onward from GoEnhance's storage, swapping the URL afterwards has no effect. **Motion video requirements** — .mp4 / .mov, ≤100MB, 340–3850px, and: | character_orientation | motion video length | |---|---| | `video` (default) | 3–30s | | `image` | 3–10s | ⚠️ Kling bills on the **output** length, and the model only extracts usable continuous motion — so a difficult or very fast motion can produce a video shorter than the input. GoEnhance charges the measured input length, which is an upper bound. ⚠️ `audio` has no `native` option here: `generate_audio` keeps the **motion video's original sound**. It defaults to off, because that soundtrack is often copyrighted material you did not author. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Same as the official rate: | resolution | tokens/s | USD/s | |---|---|---| | 720p | 6.3 | $0.126 | | 1080p | 8.4 | $0.168 | For a cheaper option with the same parameters, see [`kling-v2-6-motion`](/api-reference/video-generations/kling-v2-6-motion) — it costs roughly a third less but has no element support. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # Kling 3.0 Omni Source: https://docs.goenhance.ai/api-reference/video-generations/kling-v3-omni api-reference/video-generations/openapi-kling-v3-omni.json POST /api/v1/videos/generations Kling 3.0 Omni video. Drive generation with a prompt plus any combination of a first frame, a first+last frame pair, reference images and one reference video. **Referring to materials in the prompt** — every material gets an index you can mention with `@`: images are numbered `@image_1…` in the order first frame → last frame → `ref_imgs`, and the reference video is always `@video_1`. **The array order is the numbering**, so reordering `ref_imgs` changes what your prompt refers to. **Reference video roles** (`video_type`): - `feature` (default) — the output imitates its motion and style. The model forces multi-shot on and audio off for this mode, so `generate_audio` is rejected here. - `base` — the video is edited in place. First / last frames and `multi_shots` are not supported, and `generate_audio` keeps the base video's **original** sound rather than generating a new track. **Material limits** — `image_url` + `image_end_url` + `ref_imgs` must not exceed **7** in total, or **4** when `ref_videos` is used. **Pricing** — per second of generated video, in tokens (USD at $0.02/token). Same as the official rate: | scenario | 720p | 1080p | 4k | |---|---|---|---| | No video · no audio | 4.2 ($0.084) | 5.6 ($0.112) | 21 ($0.42) | | No video · native audio | 5.6 ($0.112) | 7 ($0.14) | 21 ($0.42) | | With video | 6.3 ($0.126) | 8.4 ($0.168) | 21 ($0.42) | ⚠️ Pricing is **three-dimensional** — resolution × reference video × native audio. A request with a reference video costs 50% more than a plain one at the same resolution, so do not read this as a two-tier table. ⚠️ **At 4K all three scenarios cost the same** (21 tokens/s = $0.42). That is the official rate, not a typo here. ⚠️ There is no "with video + native audio" price because the combination does not exist: `feature` forbids audio, and `base`'s audio is retained rather than generated — both are billed at the "with video" tier. **Not the same model as [`kling-o1`](/api-reference/video-generations/kling-o1).** O1 is in the same model family but drops multi-shot, 4K and generated audio, and caps duration at 10s. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. **Reference materials use the shared naming**: `ref_imgs` and `ref_videos`, the same as seedance / hailuo / wan's reference endpoints. `ref_videos` is an array capped at 1. The older `image_urls` / `video_url` spellings still work. ⚠️ Do not confuse `image_url` (first frame) with `ref_imgs` (reference images) — they are different inputs and count against the same material budget. # Lip Sync Video Source: https://docs.goenhance.ai/api-reference/video-generations/lipsync-video api-reference/video-generations/openapi-lipsync-video.json POST /api/v1/videos/generations Lip Sync Video. **How it works** — one talking-head video plus one audio track: the person in the video is re-animated to speak your audio. Only the mouth region is redrawn; everything else in the frame is left untouched, so the output keeps the resolution, framing and background of your source video. ⚠️ **There is no `duration` and no `resolution` parameter, and this endpoint rejects neither — it simply ignores them.** Both are measured. Before any tokens are deducted, GoEnhance transfers `video_url` and `audio_url` to its own storage, then reads the real duration and the real video resolution. Those measurements set the price and enforce the limits below. Because the files are measured and then sent onward from GoEnhance's storage, swapping a URL afterwards has no effect. **Output length** — depends on `video_mode`: | video_mode | output length | |---|---| | `normal` (default) | the shorter of your video and your audio | | `loop` | the full length of your audio; the video is played forward and backward on repeat to fill it | **Video requirements** — up to 300MB, short side at most 1080 pixels (540p / 720p / 1080p, portrait or landscape). A face must be visible; frames without a detectable face are passed through unchanged. Anything above 1080p is rejected. **Audio requirements** — up to 100MB. Clear speech with little background noise gives the best lip sync. **Maximum output length**, by the resolution of your source video: | source resolution | max output | |---|---| | 540p | 420s | | 720p | 420s | | 1080p | 300s | Going over the limit is rejected before any tokens are deducted — the clip is never silently truncated. **Pricing** — per second of output, in tokens (USD at $0.02/token): | source resolution | tokens/s | USD/s | |---|---|---| | 540p | 0.2 | $0.004 | | 720p | 0.3 | $0.006 | | 1080p | 0.5 | $0.010 | A 60-second output therefore costs 12 tokens at 540p (= $0.24). The same output costs 18 tokens at 720p (= $0.36). At 1080p it costs 30 tokens (= $0.60). Partial seconds are rounded up. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # MiniMax-H3 Source: https://docs.goenhance.ai/api-reference/video-generations/minimax-h3 api-reference/video-generations/openapi-minimax-h3.json POST /api/v1/videos/generations MiniMax-H3 text-to-video and image-to-video, with optional audio-driven lip sync. Pass `image_url` for a first frame, optionally with `image_end_url` for a last frame. For reference-driven generation use the `hailuo_h3_refs` model instead — first/last frames and reference assets are mutually exclusive. **Pricing** — billed per second, by resolution: | Resolution | Tokens / sec | USD / sec | |---|---|---| | 480p | 1.5 | $0.03 | | 720p | 3 | $0.06 | | 2K | 4.5 | $0.09 | All resolutions support 5–15 seconds. **Audio-driven lip sync** — pass `audio_url` (optionally with `audio_start`) and the characters sing or speak along with your audio. The model generates only the picture; the video's soundtrack is your audio clip, and the video lasts exactly `duration` seconds as long as the audio covers it. It works with text-to-video, a first frame, or first + last frames. For a music video, generate each shot from its storyboard frames with the same song `audio_url` and the shot's start time as `audio_start`, then join the shots in order. Billed the same as without audio. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # MiniMax-H3-Flex Source: https://docs.goenhance.ai/api-reference/video-generations/minimax-h3-flex api-reference/video-generations/openapi-minimax-h3-flex.json POST /api/v1/videos/generations MiniMax-H3-Flex is a faster MiniMax H3: same inputs, same price, and in our tests each video finishes in about 70% of the time `hailuo_h3` takes. It follows motion and action in the prompt more closely (spins, jumps, a move between the first and last frame), while keeping the same text-to-video, first / last frame and audio-driven lip sync features. Pass `image_url` for a first frame, optionally with `image_end_url` for a last frame. For reference-driven generation use the `hailuo_h3_refs` model instead. **Pricing** — billed per second, by resolution: | Resolution | Tokens / sec | USD / sec | |---|---|---| | 480p | 1.5 | $0.03 | | 720p | 3 | $0.06 | | 2K | 4.5 | $0.09 | All resolutions support 5–15 seconds. **Audio-driven lip sync** — pass `audio_url` (optionally with `audio_start`) and the characters sing or speak along with your audio. The model generates only the picture; the video's soundtrack is your audio clip, and the video lasts exactly `duration` seconds as long as the audio covers it. It works with text-to-video, a first frame, or first + last frames. Billed the same as without audio. Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video. # MiniMax-H3 Reference to Video Source: https://docs.goenhance.ai/api-reference/video-generations/minimax-h3-refs api-reference/video-generations/openapi-minimax-h3-refs.json POST /api/v1/videos/generations MiniMax-H3 reference-to-video: drive generation with reference images, and optionally a reference video and reference audio. - `ref_imgs` — **1–9 images**, required. Number them in your prompt as `` … ``. - `ref_videos` — **0–1 video**, optional. Referred to as `