Kieai MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Kieai MCP or direct API to generate videos, create images, compose music, run LLM prompts, and track AI generation jobs through natural language.

Kieai logoKieai
Api Key

Kieai is an AI API platform for video, image, music, and LLM generation. Use it to access models like Veo3, Kling, Runway, Luma, Flux, and Suno with pay-as-you-go pricing.

35 Tools

Try Kieai now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Kieai
Try asking
TOOLS

Supported Tools

Every Kieai action and event your agent gets out of the box.

Add Instrumental to Vocal Track

Add AI-generated instrumental accompaniment to an existing vocal track.

Add vocals to instrumental

Add AI-generated vocals to an existing instrumental music track.

Create Market Task

Create a task for unified model access through the Market API.

Create music video from generated audio

Create a music video (MP4) combining generated music with visuals.

Execute GPT Codex

Access GPT Codex capabilities through the KIE.

Extend Suno Music

Extend an existing Suno music track with additional AI-generated content.

Extend Veo Video

Extend an existing Veo3.

Generate Aleph Video

Generate AI video using Runway Aleph model from text prompts.

Generate Music Cover

Generate a personalized cover version of a song using AI.

Generate Flux Kontext Image

Generate or edit images using the Flux Kontext model.

Generate GPT-4o Image

Generate images using the GPT-4o image generation model.

Generate AI Lyrics

Generate creative lyrics using AI.

Generate MIDI

Generate MIDI file from audio or music generation.

Generate Music Style

Boost or enhance music style parameters for improved music generation.

Generate Sounds

Generate sound effects or audio clips based on a text description.

Get Timestamped Lyrics

Retrieve synchronized lyrics with timestamps for a music track.

Generate Veo Video

Generate AI video using Google Veo3.

Get Account Credits

Retrieve the current credit balance for your KIE.

Get Aleph Video Details

Retrieves details and status of an Aleph video generation task.

Get Cover Details

Get the status and details of a cover song generation task.

Get Flux Kontext Image Details

Retrieve the status and details of a Flux Kontext image generation task.

Get GPT-4o Image Details

Retrieves details and status of a GPT-4o image generation task.

Get Lyrics Details

Retrieves the status and details of a lyrics generation task.

Get Market Task Details

Retrieves the status and details of a Market API task by its task ID.

Get MIDI Details

Retrieves details and status of a MIDI generation task.

Get Music Details

Get the status and details of a Suno music generation task including generated audio URLs and metadata.

Get Music Video Details

Retrieves details and status of a music video generation task.

Get Runway Video Details

Retrieves details and status of a Runway video generation task.

Get Timestamped Lyrics Status

Retrieve the status and results of a timestamped lyrics generation task.

Get Veo 1080p Video

Retrieve the 1080p high-definition version of a completed Veo3.

Get Veo 4K Video

Retrieve the 4K ultra-high-definition version of a completed Veo3.

Get Veo Video Details

Retrieves details and status of a Veo3.

Get WAV Details

Retrieves the status and download URL for a WAV conversion task.

Replace Music Section

Replace a specific section of a Suno music track with new AI-generated content.

Separate Vocals from Audio

Separates vocals and instruments from an audio track using AI-powered audio source separation.

SETUP GUIDE

Connect Kieai MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for Kieai
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'Create a Flux image of a futuristic sneaker on a white studio background'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect Kieai API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Kieai Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Generate a 5-second cinematic Veo3 video of a neon city skyline at night'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Kieai actions with your Agent

Why Use Composio?

AI Native Kieai Integration

  • Supports both Kieai MCP and direct API based integrations
  • Structured, LLM-friendly schemas so agents can request video, image, music, and LLM generations reliably
  • Rich coverage for creating media jobs, checking generation status, and using Kieai outputs in downstream workflows

Managed API Key Auth

  • Kieai uses API key authentication, so your agents don't need hard-coded keys in prompts or source code
  • Use auth_configs.create() to define the Kieai auth setup and connected_accounts.link() to connect each user's Kieai account
  • Composio handles secure credential storage and API request handling for your Kieai tools

Agent Optimized Design

  • Tools are shaped for language models, so agents can understand when to generate a Veo3 video, Flux image, or Suno music track
  • Clear inputs and outputs reduce tool-call guesswork for creative AI tasks
  • Comprehensive execution logs show what the agent created, when it ran, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Kieai generation tools
  • Scoped, least-privilege access to Kieai resources instead of broad shared credentials
  • Full audit trail of agent actions across video, image, music, and LLM requests
FRAMEWORKS

Use Kieai with any AI Agent Framework

Choose a Framework you want to connect Kieai with

FAQ

Frequently asked questions

Yes, Kieai requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Kieai.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Kieai tool your agent needs.Free to start.

Start building