Korpi API
v0.1.0MCP server for the Korpi API: every top AI video, image and text model behind one key and one bill.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_models List Korpi models
List the Korpi API models with their ids, type (video, image or text), options and current per-use price in USD. Free; no key needed.
| Parameter | Type | Description |
|---|---|---|
type | string | Only return models of this type. |
generate_video Generate a video
Start a paid video generation (charged per second from the API balance; see list_models). Returns a job id. Poll get_job_status until status is completed or failed. Do not resubmit after a timeout: the first job may already be running.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What happens in the video. |
aspect_ratio | string | |
duration | integer | Length in seconds. |
image_url | string | Optional https URL of a start image. |
model | string | Video model id from list_models. |
wait_seconds | integer | Wait up to this many seconds for the video to finish before returning. |
generate_image Generate an image
Generate a paid image (charged per image from the API balance; see list_models). Returns the image URL when done.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What the image shows. |
aspect_ratio | string | |
image_urls | array | Optional https reference images. |
model | string | Image model id from list_models. |
generate_text Generate text
Run a paid chat completion (charged per request from the API balance; see list_models). Pass a prompt, or a full messages array.
| Parameter | Type | Description |
|---|---|---|
max_tokens | integer | |
messages | array | |
model | string | Text model id from list_models. |
prompt | string | User message. Ignored when messages is set. |
system | string | Optional system message used with prompt. |
get_job_status Check a video job
Check a video job started with generate_video. Returns status (queued, in_progress, completed or failed) and the video URL once completed. Free.
| Parameter | Type | Description |
|---|---|---|
id * | string | Job id returned by generate_video. |