Chat and text generation
Drafting, summaries, question answering, and code, through the OpenAI-compatible chat completions route.
Text models in Model SquareText, image, and video models
TokenRoc is a unified AI API for developers. Use one account and key to access supported text, image, and video models, and see the cost of each request in your usage logs.
Already have a key? Read the quickstart.
Authorization: Bearer <key>api.tokenroc.com/v1POST /v1/chat/completionsPOST /v1/images/generationsPOST /v1/videosCapabilities
Each category has its own documented route. Model Square lists every model you can call, with its exact ID and current rate.
Drafting, summaries, question answering, and code, through the OpenAI-compatible chat completions route.
Text models in Model SquareImages from a prompt, with reference images on supported models. The image link comes back in the same response.
Image models in Model SquareShort clips from a prompt, and on supported models from a starting frame. Submit a task, then check it until the video is ready.
Video models in Model SquareText is billed per token, images per generated image, and video per generated second. See how pricing works.
Why TokenRoc
The same TokenRoc API key works for text, image, and video requests.
Keep an OpenAI-compatible client and change only the API key and the base URL.
Model Square shows each model's ID, billing unit, and current rate.
Usage logs list each request with its model and charge.
Send your first TokenRoc API request: create an API key, set the base URL, choose a model identifier, call it with the OpenAI Python SDK, and review usage.