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.

RequestPOST /v1/chat/completions
api="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.

Response excerpt200 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 formats
OpenAI(api_key=key, base_url="https://platform-api.invideo.io/v1")

Build and run your integration

Build

Control cost

Security and data

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 pricing
Request cost excerptGET /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.

Make your first API call

invideo Platform - API for video, images, audio, and text