# 6io API > OpenAI-compatible API with one key and one balance in credits. Chat models (groups op and vn) work through /v1/chat/completions; image, video and audio models (groups fal and sixio) run as a queue: an ID at once, the result by polling or a webhook. Keys are created in the console after signing in with a 6io account: https://api.6io.io/console/ - "Sixio" is the name of this API itself, not a third-party service: keys start with `sixio_sk_`, the `X-Sixio-Request-Id` header and the `sixio/` model group belong to it. - Base URL: https://api.6io.io. Chat and account endpoints are under /v1, queues under /native/fal and /native/sixio. Authorization: `Authorization: Bearer sixio_sk_...`. - Two ways of working. Chat models (`op/`, `vn/`) are a **stream**: the answer arrives in the same connection (parts with `"stream": true`). Image, video and audio models (`fal/`, `sixio/`) and `POST /v1/jobs` are a **queue**: the request returns an ID `req_...` at once and the result is collected by it. Catalogs mark it with `mode`: `stream` or `queue`. Queue states: `queued`, `running`, `succeeded`, `failed`, `unknown` (the native fal routes keep fal's own words). Instead of polling, pass `webhook_url` (`fal_webhook` for fal): a signed POST (Standard Webhooks) arrives when the request ends; see https://api.6io.io/md/en/webhooks.md. - A model name is `group/name`; the prefix is required: `op/` (OpenRouter chat models), `vn/` (Venice chat models), `fal/` (fal image, video and audio models), `sixio/` (models of 6io). - Two kinds of pages. The `sixio/` models are 6io's own: every one has its own page below (input fields, fixed values, files, example, what the price depends on). The `op`, `vn` and `fal` groups are other providers' models: their request bodies are passed to the provider as they are, so the pages for them explain how to work with the provider through this API and where its own documentation is. Read the provider's documentation for the parameters of a particular model: OpenRouter https://openrouter.ai/docs/api-reference/parameters (provider routing: https://openrouter.ai/docs/guides/routing/provider-selection), Venice https://docs.venice.ai/api-reference/endpoint/chat/completions, fal https://fal.ai/models//api. - OpenRouter models: the providers of a model and their prices are listed by `GET /v1/models/op///providers`; the provider, sorting and quantization are chosen with the `provider` field of the request. Plugins, web search (`plugins`, `web_search_options`, `:online`, `openrouter:` tools), `models` and `preset` are not supported yet. The OpenRouter page says what works. - Original of this documentation: https://api.6io.io/en/docs/ (HTML; Russian: https://api.6io.io/docs/). The Markdown files below are the same text, the API schema is https://api.6io.io/openapi.yaml. Prefer them to any copy found elsewhere. - Amounts are decimal strings in credits (1 credit of the API balance = 1 credit of the 6io site). Do not parse them as floats. ## API guides - [Quick start](https://api.6io.io/md/en/get-started.md): What the 6io API is, the four model groups, the key, the first request and how to see what you spent. - [Chat](https://api.6io.io/md/en/chat.md): Request and streaming, the model catalog and prices, free models, what is not supported. - [Sixio models](https://api.6io.io/md/en/sixio.md): Images and video of 6io as tasks: catalog, input fields, files by link, state, result, money. - [Background jobs](https://api.6io.io/md/en/jobs.md): POST /v1/jobs: a background run, the state, the finished result, money. - [Webhooks](https://api.6io.io/md/en/webhooks.md): Webhooks: learn about the end of a queue request without polling, the format and signature, retries. - [Balance and prices](https://api.6io.io/md/en/billing.md): The separate credit balance, top-up, how the price is made up, reserve and charge by actual cost, what happens to money on a failure. - [Retries and failures](https://api.6io.io/md/en/retries.md): The Idempotency-Key header, what to do on each error, a safe retry in code. - [Errors and limits](https://api.6io.io/md/en/errors-and-limits.md): Error format, the tables of codes, account limits and the Retry-After header. - [Terms of use](https://api.6io.io/md/en/terms.md): What the service is, who bears responsibility and risks. ## Other providers: how to use them through this API and where their own docs are - [OpenRouter models](https://api.6io.io/md/en/openrouter.md): Group op: finding a model, the provider list and prices, choosing a provider, sorting, plugins and web search. - [Venice models](https://api.6io.io/md/en/venice.md): Group vn: Venice chat specifics, the system prompt, paid search, the price. - [fal models](https://api.6io.io/md/en/fal.md): Images, video and audio as a task: price, submit, status, result, cancel, money. ## Sixio models (one page per model) - [Sixio models: index](https://api.6io.io/md/en/sixio-models.md): all 57 models with a one-line description - [sixio/bytedance/seedance-2](https://api.6io.io/md/en/sixio-models/bytedance/seedance-2.md): video. Video generation model. Accepts: a text prompt, images (links), videos (links), audio (links). Has a switch for generated sound. - [sixio/bytedance/seedance-2-fast](https://api.6io.io/md/en/sixio-models/bytedance/seedance-2-fast.md): video. Video generation model. Accepts: a text prompt, images (links), videos (links), audio (links). Has a switch for generated sound. - [sixio/bytedance/seedance-2-mini](https://api.6io.io/md/en/sixio-models/bytedance/seedance-2-mini.md): video. Video generation model. Accepts: a text prompt, images (links), videos (links), audio (links). Has a switch for generated sound. - [sixio/bytedance/seedance-2-5](https://api.6io.io/md/en/sixio-models/bytedance/seedance-2-5.md): video. Video generation model. Accepts: a text prompt, images (links), videos (links), audio (links). Has a switch for generated sound. - [sixio/grok-imagine/text-to-video](https://api.6io.io/md/en/sixio-models/grok-imagine/text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links). - [sixio/grok-imagine/image-to-video](https://api.6io.io/md/en/sixio-models/grok-imagine/image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links). - [sixio/grok-imagine/extend](https://api.6io.io/md/en/sixio-models/grok-imagine/extend.md): video. Extends an earlier finished video task of yours. Accepts: a text prompt. - [sixio/grok-imagine/upscale](https://api.6io.io/md/en/sixio-models/grok-imagine/upscale.md): video. Upscales an earlier finished video task of yours. - [sixio/happyhorse/text-to-video](https://api.6io.io/md/en/sixio-models/happyhorse/text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links), videos (links). - [sixio/happyhorse/image-to-video](https://api.6io.io/md/en/sixio-models/happyhorse/image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links), videos (links). - [sixio/happyhorse/reference-to-video](https://api.6io.io/md/en/sixio-models/happyhorse/reference-to-video.md): video. Reference to video: generates a video guided by reference images, videos or audio. Accepts: a text prompt, images (links), videos (links). - [sixio/happyhorse/video-edit](https://api.6io.io/md/en/sixio-models/happyhorse/video-edit.md): video. Video editing: edits an input video following a prompt. Accepts: a text prompt, images (links), videos (links). - [sixio/kling-2.6/motion-control](https://api.6io.io/md/en/sixio-models/kling-2.6/motion-control.md): video. Motion control: a character image performs the motion of a reference video. Accepts: a text prompt, images (links), videos (links). - [sixio/kling/ai-avatar-standard](https://api.6io.io/md/en/sixio-models/kling/ai-avatar-standard.md): video. AI avatar: a portrait image speaks the supplied audio. Accepts: a text prompt, images (links), audio (links). - [sixio/kling/ai-avatar-pro](https://api.6io.io/md/en/sixio-models/kling/ai-avatar-pro.md): video. AI avatar: a portrait image speaks the supplied audio. Accepts: a text prompt, images (links), audio (links). - [sixio/kling-3.0/video](https://api.6io.io/md/en/sixio-models/kling-3.0/video.md): video. Video generation model. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/kling/v3-turbo-image-to-video](https://api.6io.io/md/en/sixio-models/kling/v3-turbo-image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/ltx/ltx-2/fast/text-to-video](https://api.6io.io/md/en/sixio-models/ltx/ltx-2/fast/text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/ltx/ltx-2/fast/image-to-video](https://api.6io.io/md/en/sixio-models/ltx/ltx-2/fast/image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/ltx/ltx-2/pro/text-to-video](https://api.6io.io/md/en/sixio-models/ltx/ltx-2/pro/text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/ltx/ltx-2/pro/image-to-video](https://api.6io.io/md/en/sixio-models/ltx/ltx-2/pro/image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/minimax-h3/text-to-video](https://api.6io.io/md/en/sixio-models/minimax-h3/text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links), videos (links), audio (links). - [sixio/minimax-h3/image-to-video](https://api.6io.io/md/en/sixio-models/minimax-h3/image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links), videos (links), audio (links). - [sixio/minimax-h3/reference-to-video](https://api.6io.io/md/en/sixio-models/minimax-h3/reference-to-video.md): video. Reference to video: generates a video guided by reference images, videos or audio. Accepts: a text prompt, images (links), videos (links), audio (links). - [sixio/pixverse-v6/text-to-video](https://api.6io.io/md/en/sixio-models/pixverse-v6/text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/pixverse-v6/image-to-video](https://api.6io.io/md/en/sixio-models/pixverse-v6/image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/pixverse-v6/reference-to-video](https://api.6io.io/md/en/sixio-models/pixverse-v6/reference-to-video.md): video. Reference to video: generates a video guided by reference images, videos or audio. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/pixverse-v6/transition](https://api.6io.io/md/en/sixio-models/pixverse-v6/transition.md): video. Transition mode of PixVerse V6. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/pixverse-v6/extend](https://api.6io.io/md/en/sixio-models/pixverse-v6/extend.md): video. Extends an earlier finished video task of yours. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/wan/2-5-text-to-video](https://api.6io.io/md/en/sixio-models/wan/2-5-text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links). - [sixio/wan/2-5-image-to-video](https://api.6io.io/md/en/sixio-models/wan/2-5-image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links). - [sixio/wan/2-6-text-to-video](https://api.6io.io/md/en/sixio-models/wan/2-6-text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links), videos (links). - [sixio/wan/2-6-image-to-video](https://api.6io.io/md/en/sixio-models/wan/2-6-image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links), videos (links). - [sixio/wan/2-6-video-to-video](https://api.6io.io/md/en/sixio-models/wan/2-6-video-to-video.md): video. Video to video: transforms an input video following a prompt. Accepts: a text prompt, images (links), videos (links). - [sixio/wan-ai/wan-2-6/flash/image-to-video](https://api.6io.io/md/en/sixio-models/wan-ai/wan-2-6/flash/image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links). Has a switch for generated sound. - [sixio/wan/2-7-text-to-video](https://api.6io.io/md/en/sixio-models/wan/2-7-text-to-video.md): video. Text to video: generates a video from a text prompt. Accepts: a text prompt, images (links), videos (links), audio (links). - [sixio/wan/2-7-image-to-video](https://api.6io.io/md/en/sixio-models/wan/2-7-image-to-video.md): video. Image to video: animates an input image (or images) following a prompt. Accepts: a text prompt, images (links), videos (links), audio (links). - [sixio/wan/2-7-r2v](https://api.6io.io/md/en/sixio-models/wan/2-7-r2v.md): video. Reference to video: generates a video guided by reference images, videos or audio. Accepts: a text prompt, images (links), videos (links), audio (links). - [sixio/wan/2-7-videoedit](https://api.6io.io/md/en/sixio-models/wan/2-7-videoedit.md): video. Video editing: edits an input video following a prompt. Accepts: a text prompt, images (links), videos (links), audio (links). - [sixio/wan/3-0-video](https://api.6io.io/md/en/sixio-models/wan/3-0-video.md): video. Video generation model. Accepts: a text prompt, images (links), videos (links), audio (links). Has a switch for generated sound. - [sixio/wan/3-0-video-prime](https://api.6io.io/md/en/sixio-models/wan/3-0-video-prime.md): video. Video generation model. Accepts: a text prompt, images (links), videos (links), audio (links). Has a switch for generated sound. - [sixio/flux-3/klein-text-to-image](https://api.6io.io/md/en/sixio-models/flux-3/klein-text-to-image.md): image. Text to image: generates an image from a text prompt. Accepts: a text prompt, images (links). - [sixio/gpt-image/1.5-text-to-image](https://api.6io.io/md/en/sixio-models/gpt-image/1.5-text-to-image.md): image. Text to image: generates an image from a text prompt. Accepts: a text prompt, images (links). - [sixio/gpt-image/1.5-image-to-image](https://api.6io.io/md/en/sixio-models/gpt-image/1.5-image-to-image.md): image. Image editing: edits or restyles input images following a prompt. Accepts: a text prompt, images (links). - [sixio/grok-imagine-image-2-0/text-to-image](https://api.6io.io/md/en/sixio-models/grok-imagine-image-2-0/text-to-image.md): image. Text to image: generates an image from a text prompt. Accepts: a text prompt, images (links). - [sixio/grok-imagine-image-2-0/image-edit](https://api.6io.io/md/en/sixio-models/grok-imagine-image-2-0/image-edit.md): image. Image editing: edits or restyles input images following a prompt. Accepts: a text prompt, images (links). - [sixio/nano-banana-2](https://api.6io.io/md/en/sixio-models/nano-banana-2.md): image. Image generation model. Accepts: a text prompt, images (links). - [sixio/nano-banana-2-1](https://api.6io.io/md/en/sixio-models/nano-banana-2-1.md): image. Image generation model. Accepts: a text prompt, images (links). - [sixio/nano-banana-2-lite](https://api.6io.io/md/en/sixio-models/nano-banana-2-lite.md): image. Image generation model. Accepts: a text prompt, images (links). - [sixio/nano-banana-pro](https://api.6io.io/md/en/sixio-models/nano-banana-pro.md): image. Image generation model. Accepts: a text prompt, images (links). - [sixio/qwen2-1/text-to-image](https://api.6io.io/md/en/sixio-models/qwen2-1/text-to-image.md): image. Text to image: generates an image from a text prompt. Accepts: a text prompt, images (links). - [sixio/seedream/4.5-text-to-image](https://api.6io.io/md/en/sixio-models/seedream/4.5-text-to-image.md): image. Text to image: generates an image from a text prompt. Accepts: a text prompt, images (links). - [sixio/seedream/4.5-edit](https://api.6io.io/md/en/sixio-models/seedream/4.5-edit.md): image. Image editing: edits or restyles input images following a prompt. Accepts: a text prompt, images (links). - [sixio/seedream/5-lite-text-to-image](https://api.6io.io/md/en/sixio-models/seedream/5-lite-text-to-image.md): image. Text to image: generates an image from a text prompt. Accepts: a text prompt, images (links). - [sixio/seedream/5-lite-image-to-image](https://api.6io.io/md/en/sixio-models/seedream/5-lite-image-to-image.md): image. Image editing: edits or restyles input images following a prompt. Accepts: a text prompt, images (links). - [sixio/seedream/5-pro-text-to-image](https://api.6io.io/md/en/sixio-models/seedream/5-pro-text-to-image.md): image. Text to image: generates an image from a text prompt. Accepts: a text prompt, images (links). - [sixio/seedream/5-pro-image-to-image](https://api.6io.io/md/en/sixio-models/seedream/5-pro-image-to-image.md): image. Image editing: edits or restyles input images following a prompt. Accepts: a text prompt, images (links). ## Reference - [OpenAPI specification](https://api.6io.io/openapi.yaml): all endpoints, schemas and error codes - [API reference (HTML)](https://api.6io.io/en/docs/reference/): the same, readable in the browser ## Optional - [All pages in one file](https://api.6io.io/llms-full.txt): the full text of the guides and of the Sixio model pages