Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add Instrumental to Vocal Track
KIEAI_ADD_INSTRUMENTALAdd AI-generated instrumental accompaniment to an existing vocal track. Use when you need to generate instrumental music to accompany a vocal recording, allowing customization of style, mood, and creative parameters. The task completion will be notified via the callback URL.
Add vocals to instrumental
KIEAI_ADD_VOCALSAdd AI-generated vocals to an existing instrumental music track. Use this action when you want to add singing or vocal tracks to accompany an existing instrumental audio file. The action submits a vocal generation task and returns a task ID that can be used to track the generation status. This action is asynchronous - use the returned taskId to poll for completion via the callback URL or check task status separately.
Create Chat Completion
KIEAI_CREATE_CHAT_COMPLETIONGenerate a synchronous GPT 5.2 response from text or image messages. Use this chat-only action for multimodal conversations, optional web search grounding, and configurable reasoning effort. It consumes Kie.ai credits.
Create Market Task
KIEAI_CREATE_MARKET_TASKSubmit a Market API task with a model identifier and speech-oriented input requiring text and voice, plus optional voice settings and callback. The action returns task identification fields for tracking.
Create music video from generated audio
KIEAI_CREATE_MUSIC_VIDEOCreate a music video (MP4) combining generated music with visuals. Use this action when you need to generate an MP4 music video from previously generated music tracks. The action requires a task ID from the music generation process and an audio ID for the specific track. The video generation is async - results are delivered to the specified callback URL. Once the video is ready, the callback URL receives a POST request with: - code: 0 for success, 500 for error - data.task_id: The unique task identifier - data.video_url: The video URL (valid for 14 days)
Execute GPT Codex
KIEAI_EXECUTE_GPT_CODEXSubmit a GPT Codex query through the KIE.AI Market API for programming assistance, such as code completion, refactoring, or explaining bugs. Use a single prompt or a multi-turn conversation, with optional reasoning settings and web search or function tool declarations. Web search and function tools cannot be used together in the same request.
Extend Suno Music
KIEAI_EXTEND_MUSICExtend an existing Suno music track with additional AI-generated content. Use this action when you need to extend or modify existing music by creating a continuation or variation based on the provided audio ID and parameters. The action submits a generation request and returns a task ID that can be used to track the progress via callback. Note: When defaultParamFlag is false, provide custom parameters (prompt, styleWeight, etc.) to control the extension behavior. When defaultParamFlag is true, provide continueAt, style, and title instead.
Extend Veo Video
KIEAI_EXTEND_VEO_VIDEOExtend an existing Veo3.1 video with additional AI-generated content. Continues a previously generated video by adding new frames that seamlessly follow the original video. Use this action when you need to extend a video generated through the Veo3.1 API with additional content. After submission, poll 'Get Veo Video Details' using the returned taskId to check extension status until completion. Note: Video extension is asynchronous. You will receive a taskId in the response that must be used to poll for completion status. Only videos generated through the Veo3.1 API can be extended, and videos generated after 1080P cannot be extended.
Generate Aleph Video
KIEAI_GENERATE_ALEPH_VIDEOSubmit a Runway Aleph video-to-video transformation using a text prompt and reference video URL, optionally with a reference image. The asynchronous task returns an ID for status polling; generated videos are available for 14 days.
Generate Music Cover
KIEAI_GENERATE_COVERGenerate a personalized cover version of a song using AI. Use when you want to create AI-generated variations or custom covers of existing music tracks. Each music task can only generate one Cover. Cover images are typically valid for 14 days. The action returns a task ID that can be used to track the generation progress. The callback URL will receive a POST request when cover generation completes, containing the task ID and generated image URLs.
Generate Flux Kontext Image
KIEAI_GENERATE_FLUX_KONTEXT_IMAGEGenerate or edit images using the Flux Kontext model. Supports both text-to-image generation and image editing modes. Use when you need to create new images from text descriptions or edit existing images with AI-powered transformations. The API returns a task ID that can be used to poll for completion status. Generated images expire after 14 days.
Generate GPT-4o Image
KIEAI_GENERATE_GPT4O_IMAGEGenerate images using the GPT-4o image generation model. Creates AI-generated images from text prompts. Use when you need to create new images from text descriptions. The API returns a task ID that should be polled using the 'Get GPT-4o Image Details' action to check completion status and retrieve the generated image URLs. Generated images are stored for 14 days and download URLs are valid for 20 minutes.
Generate AI Lyrics
KIEAI_GENERATE_LYRICSSubmit an AI song lyrics generation task from a prompt. A callback URL is required for completion notifications, and the response can contain a task ID for tracking progress.
Generate MIDI
KIEAI_GENERATE_MIDIGenerate MIDI file from audio or music generation. Converts audio tracks to MIDI format for use in digital audio workstations. Use when you need to convert separated audio stems (from vocal/instrument separation) into MIDI files for further music production workflows. This action requires a valid taskId from a prior vocal separation operation and a callback URL to receive completion notifications. Prerequisites: Must first use the Vocal & Instrument Stem Separation API to separate audio before generating MIDI.
Generate Music
KIEAI_GENERATE_MUSICSubmit a legacy Suno music-generation task, send status and results to the required callback URL, and return a task ID for polling. This action consumes Kie.ai credits.
Generate Music Style
KIEAI_GENERATE_MUSIC_STYLEBoost or enhance music style parameters for improved music generation. Use when you need to generate or enhance music style descriptions to influence AI music generation. The content field should contain a concise description of the desired music style. Returns a task ID that can be used to track the generation progress and credits information for the request.
Generate Sounds
KIEAI_GENERATE_SOUNDSGenerate sound effects or audio clips based on a text description. Creates AI-generated audio sounds with configurable parameters like tempo, key, and looping. Use this action when you need to generate sound effects, short audio clips, or ambient sounds for projects. The action submits a generation request and returns a task ID that can be used to track progress via polling or callback. Supports BPM control (1-300), musical key selection (e.g., Cm, D#m, Any), looping option, and optional lyrics capture. The generated sounds are typically valid for 14 days.
Generate Veo Video
KIEAI_GENERATE_VEO_VIDEOGenerate AI video using Google Veo3.1 model from text prompts or images. Creates high-quality video content based on detailed text descriptions or by animating provided images. Use when you need to generate a video from a text description (text-to-video) or animate one or more reference images (image-to-video). After submission, poll 'Get Veo Video Details' using the returned taskId to check generation status until completion. Note: Video generation is asynchronous. You will receive a taskId in the response that must be used to poll for completion status.
Get Veo 4K Video
KIEAI_GET_VEO4K_VIDEORetrieve the 4K ultra-high-definition version of a completed Veo3.1 video generation. Use when you need to download the 4K version of a video after the original generation is complete. The 4K conversion typically takes longer than the 1080p conversion (approximately 2-5 minutes) after the original generation completes. Use this action when you have a completed video generation task and want to access the premium 4K quality output. Poll this endpoint every 30-45 seconds until the video is ready. The original generation task must be successful before requesting the 4K version.
Register Omni Voice Preset
KIEAI_REGISTER_OMNI_VOICE_PRESETRegister a Gemini Omni preset voice and return its reusable audio ID.