invideo Platform API
One API for video, images, audio, and chat
Use one API key to call the models your workspace can access, with the SDK you already use.
POST /v1/chat/completionsapi="https://platform-api.invideo.io/v1"
curl "$api/chat/completions" \
-H "Authorization: Bearer $INVIDEO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "<platform-model-id>",
"messages": [{
"role": "user",
"content": "Reply with exactly: API connected."
}],
"max_tokens": 16
}'Replace <platform-model-id> with an ID your workspace can call.
200 OK{
"choices": [{
"message": {
"role": "assistant",
"content": "API connected."
},
"finish_reason": "stop"
}],
"usage": { "total_tokens": 37 }
}Use your existing SDK
Point your client at Platform and supply your Platform API key. Keep the provider’s request format.
Browse all formatsOpenAI(api_key=key, base_url="https://platform-api.invideo.io/v1")Build and run your integration
Build
- Provider API formats
Use OpenAI, Anthropic, Gemini, fal, Replicate, ElevenLabs, and other supported request formats.
- Playground
Try a request with files, then copy the code in the format you used.
- Test models
Exercise success, retries, and errors in your integration for free.
- Docs for agents
Give an agent llms.txt and the OpenAPI description.
Control cost
- Prepaid wallet
Add funds to a workspace and see the charge and cost lines for each request.
- Spend and rate limits
Cap spending and requests per minute for a workspace or a single model.
Security and data
- Single sign-on
Use your company’s sign-in with your work email.
- Service accounts and API keys
Give each app its own API keys, model access, and limits.
- Provider keys (BYOK)
Use your own account with supported providers.
- Zero data retention (ZDR)
Make eligible requests without storing their input or answer in Logs.
Operate
- Request logs
Read the input, output, and cost for requests that retain their content.
How billing works
Pay per use in USD without a subscription. We use the model maker’s published API list price where available, including Google’s list prices without a markup.
Top up your workspace before you run a request. Logs and the API show its exact charge and cost lines.
See pricingGET /v1/request/{id}{
"status": "succeeded",
"cost": {
"total_usd": "0.0000004758",
"lines": [{
"item": "request",
"quantity": "1",
"unit_price_usd": "0.0000004758",
"amount_usd": "0.0000004758"
}]
}
}Frequently asked questions
Can I keep my existing SDK?
Yes. Set its base URL and API key to Platform and use a Platform model ID in the request. See supported formats.
How do I pay?
Add money to your workspace balance in USD. Platform charges it as you use the API. There’s no subscription. Read about billing.
Can I cap a workspace’s spend?
Yes. Set a spend cap and request limits in the console. You can also set a limit for an individual model. See limit settings.
How do I look up a request?
Use the request ID to find its status and charge in Logs or read it through the API. Read about requests.
Can I test failure handling before launch?
Use the free test models to simulate a rate limit, an outage, or a disconnect. Try a test scenario.