OrkasOrkas
Orkas API

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.

SettingValueDescription
Base URL
https://orkas.ai/v1
Use this as the OpenAI-compatible service address.
API KeyPaste 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

POST
https://orkas.ai/v1/responses
Responses

Authentication

Authorization: Bearer $ORKAS_API_KEY

Request body parameters

ParameterTypeRequiredDescription
modelstringYesorkas-llm-1.5 or orkas-llm-1.5-pro.
inputstring / arrayYesText or conversation items.
"Hello"
[{"role":"user","content":"Hello"}]
[{"type":"function_call_output","call_id":"call_123","output":"Result"}]
reasoningobjectNoOptional reasoning effort: low, medium, or high.
{"effort":"medium"}
toolsarrayNoFunction definitions for tools executed by your application.
[{"type":"function","name":"lookup","parameters":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}]
streambooleanNoReturn 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

POST
https://orkas.ai/v1/chat/completions
Chat

Authentication

Authorization: Bearer $ORKAS_API_KEY

Request body parameters

ParameterTypeRequiredDescription
modelstringYesorkas-llm-1.5 or orkas-llm-1.5-pro.
messagesarrayYesConversation messages. Each item contains role and content.
{"role":"user","content":"Hello"}
{"role":"tool","tool_call_id":"call_123","content":"Result"}
streambooleanNoReturn 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 itemCredit debitBilling unit
orkas-llm-1.5Input 50–100; cache read 5–10; cache create 62.5–125; output 250–375Per 1M tokens for the primary model.
orkas-llm-1.5-proInput 200–400; cache read 10–20; cache create 250–500; output 1,000–1,500Per 1M tokens for the primary model.

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

GET
https://orkas.ai/v1/audio/voices
List voices

Authentication

Authorization: Bearer $ORKAS_API_KEY

Request 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 IDNameLanguage
zh_female_vv_uranus_bigttsvivi 2.0Chinese / 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_bigttsTimEnglish
en_female_dacey_uranus_bigttsDaceyEnglish
en_female_stokie_uranus_bigttsStokieEnglish

Generate speech

Endpoint

POST
https://orkas.ai/v1/audio/speech
Generate speech

Authentication

Authorization: Bearer $ORKAS_API_KEY

Request body parameters

ParameterTypeRequiredDescription
modelstringYesUse orkas-tts-1.
inputstringYesText to synthesize, up to 16,384 UTF-8 bytes.
voicestringYesVoice ID from the list above.
languagestringNoUse 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_formatstringNomp3, wav, opus, or ogg. Default: mp3.
speednumberNoSpeech 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.mp3

Credit usage

Billing itemCredit debitBilling unit
List voices0Per request
Generate speech0.03Per character.

Images

Generate an image from a description, or provide reference images for editing. One image is returned per request.

Generate an image

Endpoint

POST
https://orkas.ai/v1/images/generations
Generate an image

Authentication

Authorization: Bearer $ORKAS_API_KEY

Request body parameters

ParameterTypeRequiredDescription
promptstringYesImage description, up to 20,000 characters.
sizestringNo1k / 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_formatstringNourl or b64_json. Default: b64_json.
reference_imagesarrayNoUp to four HTTPS URLs or supported image data URLs for editing.
["https://example.com/image.png"]
data:image/png;base64,…
asyncbooleanNoReturn 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
  }'
For longer requests: set "async": true. The API returns a task id; use the status URL until the result is ready.

Check generation status

Endpoint

GET
https://orkas.ai/v1/images/generations/{id}
Check generation status

Authentication

Authorization: Bearer $ORKAS_API_KEY

Path parameters

ParameterTypeRequiredDescription
idstringYesTask 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 itemCredit debitBilling unit
Generate an image13–23 credits / output image + 5 / input imageOutput: 13 credits up to 2.61 MP, 23 credits above 2.61 MP; add 5 credits for each input image.
Check generation status0Per 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

POST
https://orkas.ai/v1/videos
Create a video

Authentication

Authorization: Bearer $ORKAS_API_KEY

Send only prompt for automatic selection. With no other requirements, Orkas prefers MiniMax H3 Lite at 480p for 4 seconds.

Request body parameters

ParameterTypeRequiredDescription
promptstringYesDescription of the video to generate or edit.
modelstringNoUse the model_id from the catalog or the table below.
quote_idstringWith a modelFor explicit selection, use the returned quote_id and send an Idempotency-Key header. Reuse that key when retrying the same request.
durationintegerNoUse the model's supported seconds or -1 for automatic duration where supported. For Gemini Omni, specify duration in the prompt.
resolutionstringNo360p, 480p, 540p, 720p, 768p, 1080p, 2k, 4k. See the model catalog for supported values and defaults.
ratiostringNo16:9, 9:16, 1:1, 4:3, 3:4, 21:9, adaptive. See the model catalog for supported values and defaults.
generate_audiobooleanNoAudio is enabled by default (true). Use false on models that support silent output.
watermarkbooleanNoDefaults to false. Use true on models that support the watermark setting.
reference_image_urlsarrayNoPublic HTTPS URLs. Limits and allowed combinations vary by model.
["https://example.com/image.png"]
reference_video_urlsarrayNoPublic HTTPS URLs. Limits and allowed combinations vary by model.
["https://example.com/video.mp4"]
operationstringNogenerate by default. edit requires a compatible model and a reference video.
Seedance 2.5 / Flash · edit: {"duration":-1,"ratio":"adaptive"}
seedintegerNo0–2147483647. Optional seed for models that support it.
qualitystringNoeconomy, balanced, quality. For compatibility with existing integrations. Current routing follows the model or the requested output and reference media.

Video model parameters

modeldurationresolutionreference_image_urlsreference_video_urls
minimax-h34–15768p, 2k93
minimax-h3-highspeed4–15480p, 768p93
minimax-h3-lite4–15480p, 768p93
minimax-h3-max5–15480p, 768p93
seedance-2.54–30, -1480p, 720p, 1080p3010
seedance-2.5-flash4–30, -1480p, 720p105
vidu-q3-pro1–16540p, 720p, 1080p10
vidu-q3-turbo1–16540p, 720p, 1080p10
kling-4.03–30720p, 1080p105
kling-4.0-flash3–20720p105
wan-3.02–30, -1480p, 720p, 1080p105
wan-3.0-prime2–30, -1480p, 720p, 1080p105
gemini-omni-1.1-flashprompt duration360p, 720p, 1080p, 4k91

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

GET
https://orkas.ai/v1/videos/{id}
Check video status

Authentication

Authorization: Bearer $ORKAS_API_KEY

Path parameters

ParameterTypeRequiredDescription
idstringYesTask 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.mp4

Credit 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.

ModelResolutionCredit debit
MiniMax H3 Lite480p80
Seedance 2.5 Flash720p≈497
Seedance 2.51080p≈1,871
Vidu Q3 Turbo720p≈188
Kling 4.0 Flash720p300
Wan 3.0720p300
Gemini Omni 1.1 Flash720p · 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-Id on 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.