# SnapGen > SnapGen API documentation for text, image, video, and audio models, integrations, guides, and troubleshooting. - [SnapGen API](https://docs.snapgen.org/index.md): Use one API key for GPT text, image generation, asynchronous video generation, and ElevenLabs, Suno, and Flow Music audio. - [GPT-6.1 Sol](https://docs.snapgen.org/api-manual/text/gpt-6-1-sol.md): Call gpt-6.1-sol through SnapGen using Chat Completions or Responses. - [GPT-6 Astra](https://docs.snapgen.org/api-manual/text/gpt-6-astra.md): Call gpt-6-astra through SnapGen using Chat Completions or Responses. - [GPT-6 Sol](https://docs.snapgen.org/api-manual/text/gpt-6-sol.md): Call gpt-6-sol through SnapGen using Chat Completions or Responses. - [GPT-6 Luna](https://docs.snapgen.org/api-manual/text/gpt-6-luna.md): Call gpt-6-luna through SnapGen using Chat Completions or Responses. - [GPT-5.6 Sol](https://docs.snapgen.org/api-manual/text/gpt-5-6-sol.md): Call the gpt-5.6-sol text route through SnapGen. - [GPT-5.6 Terra](https://docs.snapgen.org/api-manual/text/gpt-5-6-terra.md): Call the premium gpt-5.6-terra text route through SnapGen. - [GPT-5.6 Luna](https://docs.snapgen.org/api-manual/text/gpt-5-6-luna.md): Use the lowest-priced GPT-5.6 route on SnapGen. - [GPT-5.6](https://docs.snapgen.org/api-manual/text/gpt-5-6.md): Call the gpt-5.6 text route through SnapGen. - [Grok 4.6](https://docs.snapgen.org/api-manual/text/grok-4-6.md): Call xAI Grok 4.6 (`grok-4.6`) through SnapGen with per-million-token pricing and curl examples. - [Grok 4.5](https://docs.snapgen.org/api-manual/text/grok-4-5.md): Call xAI Grok 4.5 (`grok-4.5`) through SnapGen with per-million-token pricing and curl examples. - [Grok 4.3](https://docs.snapgen.org/api-manual/text/grok-4-3.md): Call xAI Grok 4.3 (`grok-4.3`) through SnapGen with per-million-token pricing and curl examples. - [Gemini 3.8 Flash](https://docs.snapgen.org/api-manual/text/gemini-3-8-flash.md): Call Google Gemini 3.8 Flash (`gemini-3.8-flash`) through SnapGen with per-million-token pricing and curl examples. - [Gemini 3.6 Flash](https://docs.snapgen.org/api-manual/text/gemini-3-6-flash.md): Call Google Gemini 3.6 Flash (`gemini-3.6-flash`) through SnapGen with per-million-token pricing and curl examples. - [Gemini 3.5 Flash](https://docs.snapgen.org/api-manual/text/gemini-3-5-flash.md): Call Google Gemini 3.5 Flash (`gemini-3.5-flash`) through SnapGen with per-million-token pricing and curl examples. - [Gemini 3.1 Pro Preview](https://docs.snapgen.org/api-manual/text/gemini-3-1-pro-preview.md): Call Google Gemini 3.1 Pro Preview (`gemini-3.1-pro-preview`) through SnapGen with per-million-token pricing and curl examples. - [DeepSeek V4 Pro](https://docs.snapgen.org/api-manual/text/deepseek-v4-pro.md): Call DeepSeek DeepSeek V4 Pro (`deepseek-v4-pro`) through SnapGen with per-million-token pricing and curl examples. - [DeepSeek V4 Flash](https://docs.snapgen.org/api-manual/text/deepseek-v4-flash.md): Call DeepSeek DeepSeek V4 Flash (`deepseek-v4-flash`) through SnapGen with per-million-token pricing and curl examples. - [DeepSeek Flash](https://docs.snapgen.org/api-manual/text/deepseek-flash.md): Call DeepSeek DeepSeek Flash (`deepseek-flash`) through SnapGen with per-million-token pricing and curl examples. - [GPT Image 2.6 Flare and Sunburst](https://docs.snapgen.org/api-manual/image/gpt-image-2-6.md): Generate and edit one 1K image with GPT Image 2.6, six quality settings and up to sixteen references. - [GPT Image 2.6 Sunburst](https://docs.snapgen.org/api-manual/image/gpt-image-2-6-sunburst.md): Generate and edit one 1K image with GPT Image 2.6, six quality settings and up to sixteen references. - [Nano Banana 2.1](https://docs.snapgen.org/api-manual/image/nano-banana-2-1.md): Generate and edit 1K, 2K and 4K images with nano-banana-2.1 and predictable per-image billing. - [GPT Image 2](https://docs.snapgen.org/api-manual/image/gpt-image-2.md): Generate one image from $0.03 with quality and size controls. - [GPT Image 2.5 Ext](https://docs.snapgen.org/api-manual/image/gpt-image-2-5-ext.md): Generate 1K–4K images per delivered image with gpt-image-2.5-ext. - [GPT Image 2.5 Ext Sunburst](https://docs.snapgen.org/api-manual/image/gpt-image-2-5-ext-sunburst.md): Select Sunburst GPT Image 2.5 Ext with gpt-image-2.5-ext-sunburst. - [GPT Image 2 All](https://docs.snapgen.org/api-manual/image/gpt-image-2-all.md): gpt-image-2-all is not currently offered. - [Seedream 5.0 Pro](https://docs.snapgen.org/api-manual/image/seedream-5-0-pro.md): Generate one 1K or 2K Seedream image, with optional image references. - [Nano Banana 2 Lite](https://docs.snapgen.org/api-manual/image/nano-banana-2-lite.md): Generate or edit one 1K image with the fixed-price Nano Banana 2 Lite contract. - [Kling 4.0 Text to Video](https://docs.snapgen.org/api-manual/video/kling-4-t2v.md): Kling 4.0 text to video API: 3–30 seconds, 720p/1080p and native stereo audio. - [Kling 4.0 Image to Video](https://docs.snapgen.org/api-manual/video/kling-4-i2v.md): Kling 4.0 image to video API: 3–30 seconds, 720p/1080p and native stereo audio. - [Kling 4.0 Reference to Video](https://docs.snapgen.org/api-manual/video/kling-4-r2v.md): Kling 4.0 reference to video API: 3–30 seconds, 720p/1080p and native stereo audio. - [Muse Video Text to Video](https://docs.snapgen.org/api-manual/video/muse-video-t2v.md): Generate a Meta Muse Video clip of about ten seconds at 720p with native sound and per-request billing. - [Muse Video Reference to Video](https://docs.snapgen.org/api-manual/video/muse-video-r2v.md): Generate a Meta Muse Video clip of about ten seconds at 720p with native sound and per-request billing. - [Seedance 2.0 T2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-t2v.md): Seedance 2.0 T2V video API via SnapGen: text-to-video mode of ByteDance Seedance 2.0 standard, with optional native audio at 480p to 4K, billed from prepaid balance. - [Seedance 2.0 I2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-i2v.md): Seedance 2.0 I2V video API via SnapGen: image-to-video mode of Seedance 2.0 standard, billed from prepaid balance. - [Seedance 2.0 R2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-r2v.md): Seedance 2.0 R2V video API via SnapGen: reference-to-video mode of Seedance 2.0 standard, billed from prepaid balance. - [Seedance 2.0 Fast T2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-fast-t2v.md): Seedance 2.0 Fast T2V video API via SnapGen: text-to-video mode of Seedance 2.0 Fast, the quicker Seedance 2.0 line at 480p or 720p, billed from prepaid balance. - [Seedance 2.0 Fast I2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-fast-i2v.md): Seedance 2.0 Fast I2V video API via SnapGen: image-to-video mode of Seedance 2.0 Fast, billed from prepaid balance. - [Seedance 2.0 Fast R2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-fast-r2v.md): Seedance 2.0 Fast R2V video API via SnapGen: reference-to-video mode of Seedance 2.0 Fast with image, video, and audio references, billed from prepaid balance. - [Seedance 2.0 Mini T2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-mini-t2v.md): Seedance 2.0 Mini T2V video API via SnapGen: text-to-video mode of Seedance 2.0 Mini, the lowest-cost Seedance 2.0 line at 480p or 720p, billed from prepaid balance. - [Seedance 2.0 Mini I2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-mini-i2v.md): Seedance 2.0 Mini I2V video API via SnapGen: image-to-video mode of Seedance 2.0 Mini, billed from prepaid balance. - [Seedance 2.0 Mini R2V](https://docs.snapgen.org/api-manual/video/seedance-2-0-mini-r2v.md): Seedance 2.0 Mini R2V video API via SnapGen: reference-to-video mode of Seedance 2.0 Mini with image, video, and audio references, billed from prepaid balance. - [Seedance 2.5 T2V](https://docs.snapgen.org/api-manual/video/seedance-2-5-t2v.md): Seedance 2.5 T2V video API via SnapGen: text-to-video mode model of ByteDance Seedance 2.5, billed from prepaid balance. - [Seedance 2.5 I2V](https://docs.snapgen.org/api-manual/video/seedance-2-5-i2v.md): Seedance 2.5 I2V video API via SnapGen: image-to-video mode model of Seedance 2.5, billed from prepaid balance. - [Seedance 2.5 R2V](https://docs.snapgen.org/api-manual/video/seedance-2-5-r2v.md): Seedance 2.5 R2V video API via SnapGen: reference-to-video mode model of Seedance 2.5 with image, video, and audio references, billed from prepaid balance. - [Seedance 2.5 Extend](https://docs.snapgen.org/api-manual/video/seedance-2-5-extend.md): Seedance 2.5 Extend video API via SnapGen: video extension mode model of Seedance 2.5, billed from prepaid balance. - [Seedance 2.5 480p](https://docs.snapgen.org/api-manual/video/seedance-2-5-480p.md): Seedance 2.5 480p video API via SnapGen: Seedance 2.5 480p SKU for text input with optional image references, billed from prepaid balance. - [Seedance 2.5 720p](https://docs.snapgen.org/api-manual/video/seedance-2-5-720p.md): Seedance 2.5 720p video API via SnapGen: Seedance 2.5 720p SKU for text input with optional image references, billed from prepaid balance. - [Seedance 2.5 480p V2V](https://docs.snapgen.org/api-manual/video/seedance-2-5-480p-v2v.md): Seedance 2.5 480p V2V video API via SnapGen: Seedance 2.5 video-edit SKU at 480p, billed from prepaid balance. - [Seedance 2.5 720p V2V](https://docs.snapgen.org/api-manual/video/seedance-2-5-720p-v2v.md): Seedance 2.5 720p V2V video API via SnapGen: Seedance 2.5 video-edit SKU at 720p, billed from prepaid balance. - [Gemini Omni Flash 1.2 T2V](https://docs.snapgen.org/api-manual/video/gemini-omni-flash-1-2-t2v.md): Generate video with sound from text using Gemini Omni Flash 1.2. - [Gemini Omni Flash 1.2 I2V](https://docs.snapgen.org/api-manual/video/gemini-omni-flash-1-2-i2v.md): Animate a first frame with an optional last frame using Gemini Omni Flash 1.2. - [Gemini Omni Flash 1.2 R2V](https://docs.snapgen.org/api-manual/video/gemini-omni-flash-1-2-r2v.md): Guide a Gemini Omni Flash 1.2 video with image references. - [Gemini Omni Flash 1.1 T2V](https://docs.snapgen.org/api-manual/video/gemini-omni-flash-1-1-t2v.md): Gemini Omni Flash 1.1 T2V video API via SnapGen: text-to-video mode of Google's Gemini Omni Flash 1.1, billed from prepaid balance. - [Gemini Omni Flash 1.1 I2V](https://docs.snapgen.org/api-manual/video/gemini-omni-flash-1-1-i2v.md): Gemini Omni Flash 1.1 I2V video API via SnapGen: image-to-video mode of Gemini Omni Flash 1.1, billed from prepaid balance. - [Gemini Omni Flash 1.1 R2V](https://docs.snapgen.org/api-manual/video/gemini-omni-flash-1-1-r2v.md): Gemini Omni Flash 1.1 R2V video API via SnapGen: reference-to-video mode of Gemini Omni Flash 1.1, billed from prepaid balance. - [Gemini Omni Flash 1.1 Extend](https://docs.snapgen.org/api-manual/video/gemini-omni-flash-1-1-extend.md): Gemini Omni Flash 1.1 Extend video API via SnapGen: extension mode of Gemini Omni Flash 1.1, billed from prepaid balance. - [Gemini Omni T2V](https://docs.snapgen.org/api-manual/video/gemini-omni-t2v.md): Generate a fixed 10-second video from text with gemini-omni-t2v. - [Gemini Omni I2V](https://docs.snapgen.org/api-manual/video/gemini-omni-i2v.md): Animate source images into a fixed 10-second video. - [Gemini Omni R2V](https://docs.snapgen.org/api-manual/video/gemini-omni-r2v.md): Generate a reference-guided 10-second Gemini Omni video. - [Gemini Omni Extend](https://docs.snapgen.org/api-manual/video/gemini-omni-extend.md): Extend a public source video with optional image references. - [Veo 3.1 Lite](https://docs.snapgen.org/api-manual/video/veo3-1-lite.md): Generate an 8-second 1080p Veo 3.1 video for $0.12. - [Veo 3.1 Lite 4K](https://docs.snapgen.org/api-manual/video/veo3-1-lite-4k.md): Generate an 8-second 4K Veo 3.1 video for $0.60. - [Veo 3.1 Fast](https://docs.snapgen.org/api-manual/video/veo3-1-fast.md): Generate an 8-second 1080p Veo 3.1 Fast video for $0.27. - [Veo 3.1 Fast 4K](https://docs.snapgen.org/api-manual/video/veo3-1-fast-4k.md): Generate an 8-second 4K Veo 3.1 Fast video for $0.75. - [Veo 3.1 Fast Reference](https://docs.snapgen.org/api-manual/video/veo3-1-fast-ref.md): Generate an 8-second 1080p video from one to three required references. - [Veo 3.1 Quality](https://docs.snapgen.org/api-manual/video/veo3-1-quality.md): Generate an 8-second 1080p Veo 3.1 Quality video for $1.20. - [Veo 3.1 Quality 4K](https://docs.snapgen.org/api-manual/video/veo3-1-quality-4k.md): Generate an 8-second 4K Veo 3.1 Quality video for $1.80. - [MiniMax H3](https://docs.snapgen.org/api-manual/video/minimax-h3.md): MiniMax H3 video API via SnapGen: MiniMax H3 video model at 768P, billed from prepaid balance. - [MiniMax H3 2K](https://docs.snapgen.org/api-manual/video/minimax-h3-2k.md): MiniMax H3 2K video API via SnapGen: MiniMax H3 video model at 2K, billed from prepaid balance. - [Grok Imagine 1.5 Fast](https://docs.snapgen.org/api-manual/video/grok-imagine-1-5-fast.md): Grok Imagine 1.5 Fast video API via SnapGen: xAI Grok Imagine 1.5 Fast, billed from prepaid balance. - [HappyHorse 1.1](https://docs.snapgen.org/api-manual/video/happyhorse-1-1.md): Create a 3–15 second HappyHorse video from a prompt, a first frame or image references. - [Eleven v4](https://docs.snapgen.org/api-manual/audio/eleven-v4.md): ElevenLabs Eleven v4 text to speech through the OpenAI-compatible speech endpoint. $0.18 per 1,000 characters. - [Eleven v3](https://docs.snapgen.org/api-manual/audio/eleven-v3.md): Expressive ElevenLabs Eleven v3 text to speech with audio tags through the OpenAI-compatible speech endpoint. $0.18 per 1,000 characters. - [Eleven Multilingual v2](https://docs.snapgen.org/api-manual/audio/eleven-multilingual-v2.md): ElevenLabs Multilingual v2 text to speech through the OpenAI-compatible speech endpoint. $0.18 per 1,000 characters. - [Eleven Flash v2.5](https://docs.snapgen.org/api-manual/audio/eleven-flash-v2-5.md): Low-cost ElevenLabs Flash v2.5 text to speech, up to 40,000 characters per request. $0.09 per 1,000 characters. - [Eleven v4 Dialogue](https://docs.snapgen.org/api-manual/audio/eleven-v4-dialogue.md): Multi-speaker dialogue audio with ElevenLabs Eleven v4. $0.18 per 1,000 characters. - [Eleven v3 Dialogue](https://docs.snapgen.org/api-manual/audio/eleven-v3-dialogue.md): Multi-speaker dialogue audio with ElevenLabs Eleven v3. $0.18 per 1,000 characters. - [Scribe v2](https://docs.snapgen.org/api-manual/audio/scribe-v2.md): ElevenLabs Scribe v2 speech to text with word timings, speaker labels, and SRT subtitles. $0.3708 per hour of audio. - [Eleven Forced Alignment](https://docs.snapgen.org/api-manual/audio/eleven-forced-alignment.md): Align a known transcript to audio and get the start and end time of each word. $0.4464 per hour of audio. - [Eleven Music v2.5](https://docs.snapgen.org/api-manual/audio/eleven-music-v2-5.md): Compose songs and instrumentals of 3 to 300 seconds with ElevenLabs Music v2.5, billed per requested second. $0.42 per minute. - [Eleven Sound Effects v2](https://docs.snapgen.org/api-manual/audio/eleven-sound-effects-v2.md): Generate sound effects of 0.5 to 30 seconds from a text prompt with ElevenLabs. $0.18 per minute. - [Eleven Multilingual STS v2](https://docs.snapgen.org/api-manual/audio/eleven-multilingual-sts-v2.md): Re-voice recorded speech in any supported language with an ElevenLabs premade voice. $0.18 per minute. - [Eleven English STS v2](https://docs.snapgen.org/api-manual/audio/eleven-english-sts-v2.md): Re-voice English speech with an ElevenLabs premade voice. $0.18 per minute. - [Eleven Voice Isolator](https://docs.snapgen.org/api-manual/audio/eleven-voice-isolator.md): Remove background noise and music from a recording and keep the voice. $0.18 per minute. - [Eleven Dubbing v1](https://docs.snapgen.org/api-manual/audio/eleven-dubbing-v1.md): Translate and re-voice a video or audio file into 32 languages, without a watermark. $0.75 per minute. - [Suno Music](https://docs.snapgen.org/api-manual/audio/suno-music.md): Generate songs from a description or your own lyrics with Suno V6. $0.075 per request, $0.15 in Max mode. - [Suno Lyrics](https://docs.snapgen.org/api-manual/audio/suno-lyrics.md): Write song lyrics from a theme with Suno. $0.012 per request. - [Suno Inspo](https://docs.snapgen.org/api-manual/audio/suno-inspo.md): Generate a new song inspired by one to four audio clips with Suno. $0.102 per request, $0.204 in Max mode. - [Suno Sounds](https://docs.snapgen.org/api-manual/audio/suno-sounds.md): Generate one-shot or looping sound effects with Suno. $0.0144 per request. - [Suno Style Boost](https://docs.snapgen.org/api-manual/audio/suno-style-boost.md): Expand short Suno style tags into a richer style prompt. $0.006 per request. - [Suno Upload](https://docs.snapgen.org/api-manual/audio/suno-upload.md): Import your own audio as a Suno source track. $0.006 per request. - [Suno Upload Cover](https://docs.snapgen.org/api-manual/audio/suno-upload-cover.md): Cover a public audio file in a new style with Suno. $0.075 per request, $0.15 in Max mode. - [Suno Upload Extend](https://docs.snapgen.org/api-manual/audio/suno-upload-extend.md): Extend a public audio file from a chosen second with Suno. $0.075 per request, $0.15 in Max mode. - [Suno Custom Model](https://docs.snapgen.org/api-manual/audio/suno-custom-model.md): Train a custom Suno model on 6 to 24 reference tracks. $1.44 per request. - [Suno Extend](https://docs.snapgen.org/api-manual/audio/suno-extend.md): Continue one of your Suno tracks from a chosen second. $0.075 per request, $0.15 in Max mode. - [Suno Cover](https://docs.snapgen.org/api-manual/audio/suno-cover.md): Cover one of your tracks in a different style with Suno. $0.075 per request, $0.15 in Max mode. - [Suno Remaster](https://docs.snapgen.org/api-manual/audio/suno-remaster.md): Remaster one of your Suno tracks. $0.075 per request. - [Suno Replace Section](https://docs.snapgen.org/api-manual/audio/suno-replace-section.md): Regenerate a time range of a Suno track. $0.075 per request, $0.15 in Max mode. - [Suno Remove Section](https://docs.snapgen.org/api-manual/audio/suno-remove-section.md): Remove a time range from a Suno track. $0.012 per request. - [Suno Crop](https://docs.snapgen.org/api-manual/audio/suno-crop.md): Crop a Suno track to a time range. $0.012 per request. - [Suno Fade In](https://docs.snapgen.org/api-manual/audio/suno-fade-in.md): Add a fade-in to a Suno track. $0.012 per request. - [Suno Fade Out](https://docs.snapgen.org/api-manual/audio/suno-fade-out.md): Add a fade-out to a Suno track. $0.012 per request. - [Suno Speed](https://docs.snapgen.org/api-manual/audio/suno-speed.md): Change the speed of a Suno track. $0.036 per request. - [Suno Concat](https://docs.snapgen.org/api-manual/audio/suno-concat.md): Join a Suno extension and its source into one full song. $0.006 per request. - [Suno Mashup](https://docs.snapgen.org/api-manual/audio/suno-mashup.md): Mix two of your Suno tracks into a new song. $0.075 per request, $0.15 in Max mode. - [Suno Sample](https://docs.snapgen.org/api-manual/audio/suno-sample.md): Build a new song around a sample of an uploaded track. $0.075 per request, $0.15 in Max mode. - [Suno Stems](https://docs.snapgen.org/api-manual/audio/suno-stems.md): Extract one stem, such as the lead vocal, from a Suno track. $0.15 per request. - [Suno All Stems](https://docs.snapgen.org/api-manual/audio/suno-stems-all.md): Separate a Suno track into all of its stems. $0.36 per request. - [Suno Add Vocals](https://docs.snapgen.org/api-manual/audio/suno-add-vocals.md): Add vocals to an uploaded instrumental with Suno. $0.075 per request, $0.15 in Max mode. - [Suno Add Instrumental](https://docs.snapgen.org/api-manual/audio/suno-add-instrumental.md): Add accompaniment to an uploaded vocal track with Suno. $0.075 per request, $0.15 in Max mode. - [Suno Add Stem](https://docs.snapgen.org/api-manual/audio/suno-add-stem.md): Layer a new stem onto a Suno track. $0.075 per request, $0.15 in Max mode. - [Suno Voice](https://docs.snapgen.org/api-manual/audio/suno-voice.md): Create a Suno voice from an MP3 or WAV recording. $0.024 per request. - [Suno Persona](https://docs.snapgen.org/api-manual/audio/suno-persona.md): Save the singer of a Suno track as a reusable Persona. $0.006 per request. - [Suno MIDI](https://docs.snapgen.org/api-manual/audio/suno-midi.md): Transcribe a Suno track into MIDI note data. $0.075 per request. - [Suno Timed Lyrics](https://docs.snapgen.org/api-manual/audio/suno-timed-lyrics.md): Get time-aligned lyrics for a Suno track. $0.0012 per request. - [Suno BPM](https://docs.snapgen.org/api-manual/audio/suno-bpm.md): Measure the tempo of a Suno track. $0.0012 per request. - [Suno MP4](https://docs.snapgen.org/api-manual/audio/suno-mp4.md): Render a music video for a Suno track. $0.006 per request. - [Suno Download](https://docs.snapgen.org/api-manual/audio/suno-download.md): Export a Suno track as MP3, M4A, or WAV files. $0.0024 per request. - [Flow Music](https://docs.snapgen.org/api-manual/audio/flow-music.md): Generate a track from a style prompt, lyrics, or both with Flow Music (Google Lyria 3 Pro or Lyria 3.5). $0.09 per request. - [Flow Music Lyrics](https://docs.snapgen.org/api-manual/audio/flow-music-lyrics.md): Write lyrics for Flow Music from a theme. $0.03 per request. - [Flow Music Extend](https://docs.snapgen.org/api-manual/audio/flow-music-extend.md): Continue a Flow Music clip from a chosen second. $0.09 per request. - [Flow Music Replace](https://docs.snapgen.org/api-manual/audio/flow-music-replace.md): Regenerate a time range of a Flow Music clip. $0.09 per request. - [Flow Music Cover](https://docs.snapgen.org/api-manual/audio/flow-music-cover.md): Rearrange a Flow Music clip in a new style. $0.09 per request. - [Flow Music Stems](https://docs.snapgen.org/api-manual/audio/flow-music-stems.md): Split a Flow Music clip into vocal and instrumental stems. $0.09 per request. - [Flow Music Upload](https://docs.snapgen.org/api-manual/audio/flow-music-upload.md): Import your own audio as a Flow Music clip. $0.015 per request. - [Flow Music Download](https://docs.snapgen.org/api-manual/audio/flow-music-download.md): Export a Flow Music clip as MP3 or WAV. $0.03 per request. - [Flow Music Video](https://docs.snapgen.org/api-manual/audio/flow-music-video.md): Render a Flow Music clip into an MP4 video. $0.03 per request. - [Chat Completions protocol](https://docs.snapgen.org/api-reference/chat-completions.md): Common OpenAI-compatible chat request, response, and streaming rules. - [Responses protocol](https://docs.snapgen.org/api-reference/responses.md): Use GPT text models with OpenAI-compatible input, output items, streaming, and function tools. - [Image API protocol](https://docs.snapgen.org/api-reference/images.md): Common request and response rules for image models. - [Source media tools](https://docs.snapgen.org/api-reference/media-tools.md): Upscale, expand and layer images, remove backgrounds or objects, synchronize lips and process source video through one asynchronous SnapGen API. - [Video API workflow](https://docs.snapgen.org/api-reference/video-generation.md): Submit, monitor, and download an asynchronous video task. - [Text to speech](https://docs.snapgen.org/api-reference/audio-speech.md): Turn text into speech with ElevenLabs voices through the OpenAI-compatible speech endpoint. - [Text to dialogue](https://docs.snapgen.org/api-reference/audio-dialogue.md): Generate one audio file of a conversation in which each line has its own ElevenLabs voice. - [Speech to text](https://docs.snapgen.org/api-reference/audio-transcriptions.md): Transcribe an uploaded file or a public audio URL with Scribe v2, with word timings, speaker labels, and SRT subtitles. - [Forced alignment](https://docs.snapgen.org/api-reference/audio-alignment.md): Align a transcript you already have to its audio and get the start and end time of every word. - [Music composition](https://docs.snapgen.org/api-reference/audio-music.md): Compose a song or an instrumental of 3 to 300 seconds with Eleven Music and receive the audio in the response. - [Sound effects](https://docs.snapgen.org/api-reference/audio-sound-effects.md): Generate a sound effect of 0.5 to 30 seconds from a text prompt and receive the audio in the response. - [Voice changer](https://docs.snapgen.org/api-reference/audio-voice-changer.md): Re-voice recorded speech with an ElevenLabs premade voice and receive the new audio in the response. - [Voice isolation](https://docs.snapgen.org/api-reference/audio-isolation.md): Remove background noise and music from a recording and receive the isolated voice as MP3. - [Dubbing](https://docs.snapgen.org/api-reference/audio-dubbing.md): Translate and re-voice a video or audio file into another language as an asynchronous task, then download the dubbed file. - [Music generation tasks](https://docs.snapgen.org/api-reference/music-generations.md): Generate, edit, split, and analyze songs with Suno and Flow Music as asynchronous tasks, and chain operations by task ID. - [List models](https://docs.snapgen.org/api-reference/list-models.md): Discover models available to your API key. - [Get task status](https://docs.snapgen.org/api-reference/task-status.md): Read a gateway task by ID for image Ext, music, dubbing, and other asynchronous jobs. - [Task webhooks](https://docs.snapgen.org/api-reference/webhooks.md): Add a webhook URL and secret when you submit a task, and receive one signed POST when it reaches a final state. - [Integrations](https://docs.snapgen.org/integrations/index.md): Connect SnapGen to common development tools and OpenAI SDKs. - [MCP server](https://docs.snapgen.org/integrations/mcp.md): Connect Codex, Claude Code, Cursor, VS Code or any MCP client to every SnapGen model through the hosted MCP server at api.snapgen.org/mcp. - [CLI](https://docs.snapgen.org/integrations/cli.md): Run every SnapGen image, video and text model from your terminal, scripts and CI with the snapgen command. - [Agent Skill](https://docs.snapgen.org/integrations/skill.md): Install the snapgen-ai-models Agent Skill so Codex, Claude Code, Cursor and other coding agents choose SnapGen models, check prices and track jobs safely. - [Claude Code](https://docs.snapgen.org/integrations/claude-code.md): Claude Code on SnapGen: status, the setup that will apply once Claude models launch, and coding tools that work today. - [Cursor](https://docs.snapgen.org/integrations/cursor.md): Use SnapGen text models through Cursor's OpenAI API key settings. - [Cline](https://docs.snapgen.org/integrations/cline.md): Configure Cline's OpenAI Compatible provider for SnapGen. - [Gemini CLI](https://docs.snapgen.org/integrations/gemini-cli.md): Point Google Gemini CLI at SnapGen's Gemini native compatibility endpoint. - [Codex CLI](https://docs.snapgen.org/integrations/codex-cli.md): Configure Codex CLI with SnapGen's OpenAI Responses-compatible endpoint. - [OpenAI Python SDK](https://docs.snapgen.org/sdks/openai-python.md): Use SnapGen with the official OpenAI Python SDK. - [OpenAI Node SDK](https://docs.snapgen.org/sdks/openai-node.md): Use SnapGen with the official OpenAI JavaScript SDK. - [Quickstart](https://docs.snapgen.org/quickstart.md): Create a key, choose a model, and send text, image, video, or audio requests. - [Authentication](https://docs.snapgen.org/authentication.md): Create and use a SnapGen API key. - [Build a reliable video workflow](https://docs.snapgen.org/guides/video-workflow.md): Submit, persist, poll, download, and reconcile asynchronous video tasks. - [Billing](https://docs.snapgen.org/billing.md): Manage prepaid balance and usage. - [Rate limits](https://docs.snapgen.org/rate-limits.md): Build reliable clients when request limits apply. - [Errors](https://docs.snapgen.org/errors.md): SnapGen API error codes: causes and fixes for 400, 401, 402, 403, 404, 429, 502, and 503 responses. - [FAQs](https://docs.snapgen.org/faqs/index.md): Find answers about connectivity, billing, security, models, and media tasks. - [Connection & Usage](https://docs.snapgen.org/faqs/connection-usage.md): Troubleshoot API connectivity, authentication, model, and task errors. - [Account & Billing](https://docs.snapgen.org/faqs/account-billing.md): Understand SnapGen prepaid balance, credits, prices, and refunds. - [Security & Configuration](https://docs.snapgen.org/faqs/security-configuration.md): Protect API keys and configure SnapGen clients safely. - [Models & Capabilities](https://docs.snapgen.org/faqs/models-capabilities.md): Choose a model, protocol, duration, resolution, reference mode, and audio endpoint. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.