Orkas API documentation
Connect Orkas chat, search, speech, image, and video capabilities to your own tools. Start with Chat to find the Base URL, API key, and model names used by most AI applications.
Chat
Chat and Responses provide model responses and custom function calls for your application to handle; image and video endpoints generate media. These API calls do not start a desktop Commander task or automatically involve your desktop agents. Any additional agent orchestration depends on your application's workflow.
Connection settings
If an application asks for a Base URL, API key, and model, enter the following values.
| Setting | Value | Description |
|---|---|---|
Base URL | https://orkas.ai/v1 | Use this as the OpenAI-compatible service address. |
API Key | Create a key in Account | Paste the key into the application's API key field. |
model | orkas-llm-1.5Recommended | Best for everyday Q&A, writing, and office work. Includes DeepSeek V4.1 Flash · GPT-6 Luna · Claude Sonnet 5 · Gemini-3.8 Flash. |
orkas-llm-1.5-pro | Best for research, video, R&D, and other complex tasks. Includes GPT-6 Sol · Claude Opus 5.5 · Kimi K3. |
Responses Recommended
Endpoint
https://orkas.ai/v1/responsesAuthentication
Authorization: Bearer $ORKAS_API_KEYRequest body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | orkas-llm-1.5 or orkas-llm-1.5-pro. |
input | string / array | Yes | Text or conversation items."Hello"[{"role":"user","content":"Hello"}][{"type":"function_call_output","call_id":"call_123","output":"Result"}] |
reasoning | object | No | Optional reasoning effort: low, medium, or high.{"effort":"medium"} |
tools | array | No | Function definitions for tools executed by your application.[{"type":"function","name":"lookup","parameters":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}] |
stream | boolean | No | Return a streaming response when true. Default: false. |
Request example
curl https://orkas.ai/v1/responses \
-H "Authorization: Bearer $ORKAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "orkas-llm-1.5",
"input": "Hello",
"reasoning": {"effort": "medium"}
}'Chat
Endpoint
https://orkas.ai/v1/chat/completionsAuthentication
Authorization: Bearer $ORKAS_API_KEYRequest body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | orkas-llm-1.5 or orkas-llm-1.5-pro. |
messages | array | Yes | Conversation messages. Each item contains role and content.{"role":"user","content":"Hello"}{"role":"tool","tool_call_id":"call_123","content":"Result"} |
stream | boolean | No | Return a streaming response when true. Default: false. |
Request example
curl https://orkas.ai/v1/chat/completions \
-H "Authorization: Bearer $ORKAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "orkas-llm-1.5",
"messages": [{"role": "user", "content": "Hello"}]
}'Credit usage
| Billing item | Credit debit | Billing unit |
|---|---|---|
orkas-llm-1.5 | Input 50–100; cache read 5–10; cache create 62.5–125; output 250–375 | Per 1M tokens for the primary model. |
orkas-llm-1.5-pro | Input 200–400; cache read 10–20; cache create 250–500; output 1,000–1,500 | Per 1M tokens for the primary model. |
Search
Search the web and return a compact list of relevant results for your application.
Search the web
Endpoint
https://orkas.ai/v1/searchAuthentication
Authorization: Bearer $ORKAS_API_KEYRequest body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search text, up to 128 Unicode characters. |
max_results | integer | No | Number of results, 1–20. Default: 8. |
Request example
curl https://orkas.ai/v1/search \
-H "Authorization: Bearer $ORKAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"latest battery research","max_results":8}'Credit usage
| Billing item | Credit debit | Billing unit |
|---|---|---|
| Search the web | 0.5 | Per request, for up to 20 results. |
Speech
Turn text into an audio file. Choose a voice ID from the list below and select the audio format you need.
List voices
Endpoint
https://orkas.ai/v1/audio/voicesAuthentication
Authorization: Bearer $ORKAS_API_KEYRequest parameters
This endpoint has no request parameters.
Request example
curl https://orkas.ai/v1/audio/voices \
-H "Authorization: Bearer $ORKAS_API_KEY"Available voice IDs
| Voice ID | Name | Language |
|---|---|---|
zh_female_vv_uranus_bigtts | vivi 2.0 | Chinese / English |
saturn_zh_female_cancan_tob | 知性灿灿 | Chinese |
saturn_zh_female_keainvsheng_tob | 可爱女生 | Chinese |
saturn_zh_female_tiaopigongzhu_tob | 调皮公主 | Chinese |
saturn_zh_male_shuanglangshaonian_tob | 爽朗少年 | Chinese |
saturn_zh_male_tiancaitongzhuo_tob | 天才同桌 | Chinese |
zh_female_xiaohe_uranus_bigtts | 小何 | Chinese |
zh_male_m191_uranus_bigtts | 云舟 | Chinese |
zh_male_taocheng_uranus_bigtts | 小天 | Chinese |
en_male_tim_uranus_bigtts | Tim | English |
en_female_dacey_uranus_bigtts | Dacey | English |
en_female_stokie_uranus_bigtts | Stokie | English |
Generate speech
Endpoint
https://orkas.ai/v1/audio/speechAuthentication
Authorization: Bearer $ORKAS_API_KEYRequest body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Use orkas-tts-1. |
input | string | Yes | Text to synthesize, up to 16,384 UTF-8 bytes. |
voice | string | Yes | Voice ID from the list above. |
language | string | No | Use a language supported by the selected voice, such as zh-CN or en. Omit to use the voice's default. Unsupported languages return an error. |
response_format | string | No | mp3, wav, opus, or ogg. Default: mp3. |
speed | number | No | Speech speed from 0.5 to 2.0. Default: 1.0. |
Request example
curl https://orkas.ai/v1/audio/speech \
-H "Authorization: Bearer $ORKAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model":"orkas-tts-1",
"input":"你好,欢迎使用 Orkas。",
"voice":"zh_female_vv_uranus_bigtts",
"language":"zh-CN",
"response_format":"mp3",
"speed":1.0
}' --output speech.mp3Credit usage
| Billing item | Credit debit | Billing unit |
|---|---|---|
| List voices | 0 | Per request |
| Generate speech | 0.03 | Per character. |
Images
Generate an image from a description, or provide reference images for editing. One image is returned per request.
Generate an image
Endpoint
https://orkas.ai/v1/images/generationsAuthentication
Authorization: Bearer $ORKAS_API_KEYRequest body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Image description, up to 20,000 characters. |
size | string | No | 1k / 1.5k / 2k or a supported width×height value. Default: 1.5k.Custom sizes use WIDTHxHEIGHT, for example 1920x1080. Total pixels: 921,600–4,624,220. Aspect ratio: 1:16–16:1. |
response_format | string | No | url or b64_json. Default: b64_json. |
reference_images | array | No | Up to four HTTPS URLs or supported image data URLs for editing.["https://example.com/image.png"]data:image/png;base64,… |
async | boolean | No | Return a task ID when true. Recommended for avoiding request timeouts. Default: false. |
Request example
curl https://orkas.ai/v1/images/generations \
-H "Authorization: Bearer $ORKAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt":"A product photo on a clean studio background",
"size":"1.5k",
"response_format":"url",
"async":true
}'"async": true. The API returns a task id; use the status URL until the result is ready.Check generation status
Endpoint
https://orkas.ai/v1/images/generations/{id}Authentication
Authorization: Bearer $ORKAS_API_KEYPath parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Task ID returned by the create request. |
Request example
curl https://orkas.ai/v1/images/generations/$TASK_ID \
-H "Authorization: Bearer $ORKAS_API_KEY"Credit usage
| Billing item | Credit debit | Billing unit |
|---|---|---|
| Generate an image | 13–23 credits / output image + 5 / input image | Output: 13 credits up to 2.61 MP, 23 credits above 2.61 MP; add 5 credits for each input image. |
| Check generation status | 0 | Per request |
Videos
Create a video from text or reference media. Video requests run asynchronously, so use the returned task ID to check progress.
GET /v1/videos/models
Read each model's availability, model_id, defaults and parameters_schema, including combined constraints. The public API accepts the inputs listed below.
curl https://orkas.ai/v1/videos/models \
-H "Authorization: Bearer $ORKAS_API_KEY"POST /v1/videos/estimate
Use the same model and generation settings for the estimate and creation. The estimate returns usage.credits_milli (1,000 = 1 credit) and a quote_id valid for five minutes.
curl https://orkas.ai/v1/videos/estimate \
-H "Authorization: Bearer $ORKAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"minimax-h3-lite","duration":4,"resolution":"480p"}'Create a video
Endpoint
https://orkas.ai/v1/videosAuthentication
Authorization: Bearer $ORKAS_API_KEYSend only prompt for automatic selection. With no other requirements, Orkas prefers MiniMax H3 Lite at 480p for 4 seconds.
Request body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Description of the video to generate or edit. |
model | string | No | Use the model_id from the catalog or the table below. |
quote_id | string | With a model | For explicit selection, use the returned quote_id and send an Idempotency-Key header. Reuse that key when retrying the same request. |
duration | integer | No | Use the model's supported seconds or -1 for automatic duration where supported. For Gemini Omni, specify duration in the prompt. |
resolution | string | No | 360p, 480p, 540p, 720p, 768p, 1080p, 2k, 4k. See the model catalog for supported values and defaults. |
ratio | string | No | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive. See the model catalog for supported values and defaults. |
generate_audio | boolean | No | Audio is enabled by default (true). Use false on models that support silent output. |
watermark | boolean | No | Defaults to false. Use true on models that support the watermark setting. |
reference_image_urls | array | No | Public HTTPS URLs. Limits and allowed combinations vary by model.["https://example.com/image.png"] |
reference_video_urls | array | No | Public HTTPS URLs. Limits and allowed combinations vary by model.["https://example.com/video.mp4"] |
operation | string | No | generate by default. edit requires a compatible model and a reference video.Seedance 2.5 / Flash · edit: {"duration":-1,"ratio":"adaptive"} |
seed | integer | No | 0–2147483647. Optional seed for models that support it. |
quality | string | No | economy, balanced, quality. For compatibility with existing integrations. Current routing follows the model or the requested output and reference media. |
Video model parameters
model | duration | resolution | reference_image_urls | reference_video_urls |
|---|---|---|---|---|
minimax-h3 | 4–15 | 768p, 2k | 9 | 3 |
minimax-h3-highspeed | 4–15 | 480p, 768p | 9 | 3 |
minimax-h3-lite | 4–15 | 480p, 768p | 9 | 3 |
minimax-h3-max | 5–15 | 480p, 768p | 9 | 3 |
seedance-2.5 | 4–30, -1 | 480p, 720p, 1080p | 30 | 10 |
seedance-2.5-flash | 4–30, -1 | 480p, 720p | 10 | 5 |
vidu-q3-pro | 1–16 | 540p, 720p, 1080p | 1 | 0 |
vidu-q3-turbo | 1–16 | 540p, 720p, 1080p | 1 | 0 |
kling-4.0 | 3–30 | 720p, 1080p | 10 | 5 |
kling-4.0-flash | 3–20 | 720p | 10 | 5 |
wan-3.0 | 2–30, -1 | 480p, 720p, 1080p | 10 | 5 |
wan-3.0-prime | 2–30, -1 | 480p, 720p, 1080p | 10 | 5 |
gemini-omni-1.1-flash | prompt duration | 360p, 720p, 1080p, 4k | 9 | 1 |
Request example
curl https://orkas.ai/v1/videos \
-H "Authorization: Bearer $ORKAS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model":"minimax-h3-lite",
"prompt":"Camera circles a ceramic lamp in a dark studio",
"duration":4,
"resolution":"480p",
"quote_id":"YOUR_QUOTE_ID"
}'Check video status
Endpoint
https://orkas.ai/v1/videos/{id}Authentication
Authorization: Bearer $ORKAS_API_KEYPath parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Task ID returned by the create request. |
Request example
curl https://orkas.ai/v1/videos/$TASK_ID \
-H "Authorization: Bearer $ORKAS_API_KEY"GET /v1/videos/{id}/content
After completion, download the video by following the redirect.
curl --location https://orkas.ai/v1/videos/$TASK_ID/content \
-H "Authorization: Bearer $ORKAS_API_KEY" \
--output video.mp4Credit usage
Example quotes for 5 seconds without reference media. Gemini Omni sets duration from the prompt, so its row shows the request estimate. Final charges depend on actual usage.
| Model | Resolution | Credit debit |
|---|---|---|
| MiniMax H3 Lite | 480p | 80 |
| Seedance 2.5 Flash | 720p | ≈497 |
| Seedance 2.5 | 1080p | ≈1,871 |
| Vidu Q3 Turbo | 720p | ≈188 |
| Kling 4.0 Flash | 720p | 300 |
| Wan 3.0 | 720p | 300 |
| Gemini Omni 1.1 Flash | 720p · prompt duration | ≈845 |
Security and limits
Keep API keys private, use separate keys for different applications, and delete a key immediately if it may have leaked.
- Send the key in the
Authorization: Bearer sk-orkas-…request header. - To group credit usage from one conversation, send the same opaque ID in
X-Orkas-Conversation-Idon its requests. Use only letters, digits,-, or_(up to 64 characters); do not send a title or message content. - Do not put a key in browser or mobile app code, URLs, logs, or source control.
- Create a separate key for each application so it can be replaced without affecting other services.
- Per-key limits: 120 requests/min for chat and search, 60 for speech, 30 image requests, and 10 video requests. Status checks allow 120 requests/min.
- If requests are too frequent, the API returns HTTP 429. Wait briefly before trying again.
Credit history
API usage is marked separately in Orkas Web credit history, so you can distinguish it from usage in Orkas.