# Hypercove API > ## Agent Instructions > The Hypercove API is an OpenAI-compatible gateway. Base URL: https://api.deepshi.ai/v1. API keys start with sk-bf- and go in the Authorization: Bearer header. Prefer the official OpenAI SDKs pointed at the Hypercove base URL. Model ids are clean with no provider prefix (e.g. deepshi-3.0, claude-opus-4.8, gpt-5.5). Chat and image requests are synchronous; video and music requests are asynchronous job APIs (create, then poll). Every synchronous response carries usage.cost.total_cost in USD. Do not reference the internal /api/* admin plane or virtual keys. - [Hypercove API](https://docs.deepshi.ai/index.md): Unrestricted, OpenAI-compatible AI API for text, image, video, and music generation. One key, one balance, every model. - [Privacy](https://docs.deepshi.ai/overview/privacy.md): How Hypercove handles your prompts and data. - [FAQ](https://docs.deepshi.ai/resources/faq.md): Common questions about the Hypercove API. - [Quickstart](https://docs.deepshi.ai/get-started/quickstart.md): Go from zero to your first completion in a few minutes. - [Authentication](https://docs.deepshi.ai/get-started/authentication.md): Create API keys and authenticate every request with a bearer token. - [Credits & billing](https://docs.deepshi.ai/get-started/pricing-credits.md): How your prepaid balance, top-ups, and usage metering work. - [Migrating from OpenAI](https://docs.deepshi.ai/guides/migrating-from-openai.md): Move an existing OpenAI integration to Hypercove with minimal changes. - [Changelog](https://docs.deepshi.ai/changelog.md): New models, endpoints, and capabilities in the Hypercove API. - [Text & chat](https://docs.deepshi.ai/capabilities/text-and-chat.md): Generate text and hold conversations with the OpenAI-compatible chat completions API, including highly unrestricted models. - [Tool calling](https://docs.deepshi.ai/capabilities/tool-calling.md): Let models call your functions and external tools. - [Structured outputs](https://docs.deepshi.ai/capabilities/structured-outputs.md): Force the model to return JSON that matches a schema you define. - [Reasoning models](https://docs.deepshi.ai/capabilities/reasoning.md): Use models that think before they answer, and read their reasoning trace. - [Image generation](https://docs.deepshi.ai/capabilities/image-generation.md): Generate images from a text prompt with the OpenAI-compatible images API, including highly unrestricted models. - [Image editing](https://docs.deepshi.ai/capabilities/image-editing.md): Edit an existing image from a prompt and one or more reference images. - [Video generation](https://docs.deepshi.ai/capabilities/video-generation.md): Generate video from a text prompt or an image (text-to-video and image-to-video) with the async video API. - [Audio generation](https://docs.deepshi.ai/capabilities/audio-generation.md): Generate music and full songs from a style prompt and lyrics with the async audio API. - [Animate an image](https://docs.deepshi.ai/guides/cookbook/animate-an-image.md): Generate a still image, then turn it into a video clip with the image-to-video API. - [Score an image with music](https://docs.deepshi.ai/guides/cookbook/score-image-with-music.md): Read the mood of an image with a vision model, then generate a matching song. - [SillyTavern](https://docs.deepshi.ai/guides/sillytavern.md): Use Hypercove models in SillyTavern through its OpenAI-compatible connection. - [OpenClaw](https://docs.deepshi.ai/guides/openclaw.md): Use Hypercove models in OpenClaw via a custom OpenAI-compatible provider. - [Hermes Agent](https://docs.deepshi.ai/guides/hermes-agent.md): Use Hypercove as the model backend for Hermes Agent. - [LangChain](https://docs.deepshi.ai/guides/langchain.md): Use Hypercove models in LangChain through the OpenAI-compatible interface. - [Vercel AI SDK](https://docs.deepshi.ai/guides/vercel-ai-sdk.md): Use Hypercove models with the Vercel AI SDK. - [LibreChat](https://docs.deepshi.ai/guides/librechat.md): Use Hypercove models in LibreChat through its OpenAI-compatible custom endpoint. - [n8n](https://docs.deepshi.ai/guides/n8n.md): Automate image, video, and music generation with n8n's HTTP Request node. - [Coding tools](https://docs.deepshi.ai/guides/coding-tools.md): Use Hypercove models in AI coding assistants like Cursor and Cline. - [Models overview](https://docs.deepshi.ai/models/overview.md): How models work in the Hypercove API and how to reference them. - [Chat models](https://docs.deepshi.ai/models/text-models.md): Every chat model available through the Hypercove API, with context windows and capabilities. - [Image models](https://docs.deepshi.ai/models/image-models.md): Every image model available through the Hypercove API, with sizing options, prompt limits, and capabilities. - [Video models](https://docs.deepshi.ai/models/video-models.md): Every video model available through the Hypercove API, with resolutions, audio support, and prompt limits. - [Audio models](https://docs.deepshi.ai/models/audio-models.md): Audio models available through the Hypercove API, with prompt limits and output options. - [API reference](https://docs.deepshi.ai/api-reference/introduction.md): Endpoints, request shapes, and conventions for the Hypercove API. - [Errors & status codes](https://docs.deepshi.ai/resources/errors.md): Understand the HTTP status codes the API returns and how to handle them. - [List available models](https://docs.deepshi.ai/api-reference/models/list-available-models.md): Lists the models the authenticated key is allowed to call. Each entry's `id` is the value to pass as `model` on a request. - [Create a chat completion](https://docs.deepshi.ai/api-reference/chat/create-a-chat-completion.md): Generates a model response for the given conversation. Set `stream: true` to receive the response incrementally as Server-Sent Events. - [Generate an image](https://docs.deepshi.ai/api-reference/images/generate-an-image.md): Generate one or more images from a text prompt. Beyond the standard fields, each model accepts its own **model-specific** sizing and quality parameters such as `resolution`, `aspect_ratio`, `width`/`height`, and `quality`. Send the ones your chosen model supports. Call `GET /v1/models` to see each m… - [Edit an image](https://docs.deepshi.ai/api-reference/images/edit-an-image.md): Edit or transform an existing image from a prompt and one or more input images. Sent as `multipart/form-data`. Supports the same model-specific sizing and quality parameters as image generation; how many reference images a model accepts varies (see the `edit` block in `GET /v1/models`). - [Create a video job](https://docs.deepshi.ai/api-reference/videos/create-a-video-job.md): Create an asynchronous video generation job from a text prompt, or from an image when `input_reference` is set (image-to-video). Returns a job with `status: "queued"`; poll `GET /v1/videos/{video_id}` until it is `completed`. Beyond `model` and `prompt`, each model accepts its own parameters such as… - [Retrieve a video job](https://docs.deepshi.ai/api-reference/videos/retrieve-a-video-job.md): Poll a job for its status and result. When `status` is `completed`, the finished video is under `videos[]`. A video id is scoped to the key that created it. - [Cancel or delete a video job](https://docs.deepshi.ai/api-reference/videos/cancel-or-delete-a-video-job.md): Cancel a job that is still running (stopping it from billing) or remove a job you no longer need. Canceling before the video is delivered means you are not charged; a job that already completed has already billed and is not refunded. - [Download the finished video](https://docs.deepshi.ai/api-reference/videos/download-the-finished-video.md): Redirect (HTTP 302) to the finished video file. Follow the redirect to download the `.mp4`. Equivalent to using the `videos[].url` from the retrieve response. Only available once the job is `completed`. - [Create a music job](https://docs.deepshi.ai/api-reference/music/create-a-music-job.md): Create an asynchronous music generation job from a style prompt. Returns a job with `status: "in_progress"`; poll `GET /v1/audio/generations/{audio_id}` until it is `completed`. Some models take lyrics and generate vocal songs, others are instrumental; call `GET /v1/models` to see the parameters a m… - [Retrieve a music job](https://docs.deepshi.ai/api-reference/music/retrieve-a-music-job.md): Poll a job for its status and result. When `status` is `completed`, the finished song is under `audio[]`. An audio id is scoped to the key that created it. - [Download the finished song](https://docs.deepshi.ai/api-reference/music/download-the-finished-song.md): Redirect (HTTP 302) to the finished audio file. Follow the redirect to download the `.mp3`. Equivalent to using `audio[].url` from the retrieve response. Only available once the job is `completed`; before then it returns `404`. - [AGENTS](https://docs.deepshi.ai/AGENTS.md) ## OpenAPI Specs - [openapi](/api-reference/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.