Endpoint reference

This is the canonical list of vMira HTTP endpoints. For per-product capability and example code, see the Mira product pages. For rates, see the pricing page.

Base URL

https://api.vmira.ai

Authentication

Authorization: Bearer sk-mira-YOUR_API_KEY

Mira

The Mira conversational models. See chat completions for full details.

MethodPathPurpose
POST/v1/chat/completionsChat completions (drop-in compatible format)
POST/v1/responsesResponses API (structured responses)
GET/v1/modelsList available Mira models
POST/v1/embeddingsText embeddings

Mira Image

Image generation and editing. See Mira Image for capabilities and examples.

MethodPathPurpose
POST/v1/images/generateText → image
POST/v1/images/editImage → image with reference

Mira Voice

Speech recognition and synthesis. See Mira Voice for capabilities and examples.

MethodPathPurpose
POST/v1/audio/transcribeSpeech-to-text
POST/v1/audio/speechText-to-speech
GET/v1/audio/voicesList available voices

Mira Realtime

Duplex realtime voice channel. See Mira Realtime for protocol details.

MethodPathPurpose
WSS/v1/realtimeDuplex voice WebSocket
GET/v1/realtime/preflightCapability negotiation

Mira Music

Music generation. Asynchronous — requests return a job_id; poll for status separately. See Mira Music.

MethodPathPurpose
POST/v1/audio/musicText → song (async, returns job id)
GET/v1/audio/music/{job_id}Poll job status

Mira Video

Video generation. Asynchronous. See Mira Video.

MethodPathPurpose
POST/v1/video/generateText → video or image → video (async)
GET/v1/video/{job_id}Poll job

Mira Vision

Image understanding. See Mira Vision.

MethodPathPurpose
POST/v1/vision/locateGrounded object detection
For free-form vision Q&A, pass an image_url or base64 payload to /v1/chat/completions — Mira accepts images as part of a user message.

Account and management

Endpoints for managing keys, balance, and usage statistics. All require authentication.

MethodPathPurpose
GET/v1/api-keysList API keys
POST/v1/api-keysCreate an API key
DELETE/v1/api-keys/{id}Revoke an API key
GET/v1/billing/balanceCurrent balance
GET/v1/billing/transactionsRecent charges
GET/v1/usageUsage stats

Next steps