# CR Developer Docs > Public documentation for the deployed CR model gateway. Authenticated content is excluded. [Complete guide text](https://creative-reasoning.com/llms-full.txt) · [Model API OpenAPI](https://creative-reasoning.com/docs-openapi/dataplane.en.json) · [Management API OpenAPI](https://creative-reasoning.com/docs-openapi/management.en.json) - [Inference API](https://creative-reasoning.com/docs-markdown/en/api-reference.md): Look up requests, responses, and errors for LLM, embedding, reranking, image, and video APIs. - [Embeddings and reranking](https://creative-reasoning.com/docs-markdown/en/embeddings-rerank.md): Call embeddings to generate vectors or rerank candidate text against a query. - [Generate and edit images](https://creative-reasoning.com/docs-markdown/en/images-image-edit.md): Submit an image generation or editing request, query the task, read the image, and handle failures. - [Call a text model](https://creative-reasoning.com/docs-markdown/en/home.md): Generate text with Chat Completions or Responses, including streaming and continued conversations. - [Connect Claude Code](https://creative-reasoning.com/docs-markdown/en/claude-code.md): Connect Claude Code to CR through the Anthropic Messages-compatible surface. - [Connect Codex](https://creative-reasoning.com/docs-markdown/en/codex.md): Connect Codex to CR through a custom Responses provider. - [Image and video skill](https://creative-reasoning.com/docs-markdown/en/cr-media.md): Install cr-media in Claude Code or Codex to generate and edit images and videos with natural-language requests. - [Developer tools and SDKs](https://creative-reasoning.com/docs-markdown/en/integrations.md): Choose the client protocol first, then follow the dedicated Codex, Claude Code, or application SDK guide. - [SDK integration](https://creative-reasoning.com/docs-markdown/en/sdk-integration.md): Send a minimal Chat request with a Python or JavaScript OpenAI-compatible SDK. - [Manage API Keys and query usage](https://creative-reasoning.com/docs-markdown/en/manage-api-keys.md): Use management tokens to create and revoke API Keys, set budgets, and query quota and historical usage. - [Management API](https://creative-reasoning.com/docs-markdown/en/management-api.md): Look up authentication, requests, responses, and limits for management tokens, API Keys, quota, budgets, usage, and pricing. - [Media task reference](https://creative-reasoning.com/docs-markdown/en/media-tasks.md): Submit generation or editing tasks, configure model parameters, query results, receive callbacks, and save images or videos. - [Query request bills and effective prices](https://creative-reasoning.com/docs-markdown/en/request-billing.md): Read public cost examples, verify charges by usage ID, and retrieve current organization model prices. - [Errors and retries](https://creative-reasoning.com/docs-markdown/en/troubleshooting.md): Diagnose failures by request stage, handle HTTP, stream, and async task errors, and retry safely. - [Generate videos](https://creative-reasoning.com/docs-markdown/en/video-async.md): Generate video from text, a first frame or reference images, query the task, and save the result. - [模型调用 API](https://creative-reasoning.com/docs-markdown/zh/api-reference.md): 查阅 LLM、Embedding、Rerank、图像和视频接口的请求、响应与错误。 - [Embedding 与 Rerank](https://creative-reasoning.com/docs-markdown/zh/embeddings-rerank.md): 调用 Embedding 生成向量,或使用 Rerank 重排候选文本。 - [生成与编辑图片](https://creative-reasoning.com/docs-markdown/zh/images-image-edit.md): 从提交图片生成或编辑请求到查询任务、读取图像和处理失败。 - [调用文本模型](https://creative-reasoning.com/docs-markdown/zh/home.md): 使用 Chat Completions 或 Responses 生成文本,支持流式输出与连续对话。 - [Claude Code 接入](https://creative-reasoning.com/docs-markdown/zh/claude-code.md): 通过 Anthropic Messages 兼容入口将 Claude Code 连接到 CR 网关。 - [Codex 接入](https://creative-reasoning.com/docs-markdown/zh/codex.md): 通过自定义 Responses Provider 将 Codex 连接到 CR 网关。 - [图片与视频 Skill](https://creative-reasoning.com/docs-markdown/zh/cr-media.md): 在 Claude Code 或 Codex 中安装 cr-media,用自然语言生成、编辑图片和视频。 - [开发工具与 SDK](https://creative-reasoning.com/docs-markdown/zh/integrations.md): 先按客户端类型选择协议,再进入 Codex、Claude Code 或应用 SDK 的独立接入说明。 - [SDK 接入](https://creative-reasoning.com/docs-markdown/zh/sdk-integration.md): 使用 Python 或 JavaScript OpenAI 兼容 SDK 发送最小 Chat 请求。 - [管理 API Key 与查询用量](https://creative-reasoning.com/docs-markdown/zh/manage-api-keys.md): 使用管理 Token 创建和撤销 API Key、设置预算、查询额度及历史用量。 - [管理 API](https://creative-reasoning.com/docs-markdown/zh/management-api.md): 查阅管理 Token、API Key、额度、预算、用量和价格接口的认证、请求、响应与限制。 - [媒体任务参考](https://creative-reasoning.com/docs-markdown/zh/media-tasks.md): 提交生成或编辑任务,配置模型参数,查询结果、接收回调并保存图片与视频。 - [查询调用账单与有效价格](https://creative-reasoning.com/docs-markdown/zh/request-billing.md): 查看公开费用计算示例,按 usage ID 核对实际扣费,并查询当前组织的模型有效价格。 - [错误处理与重试](https://creative-reasoning.com/docs-markdown/zh/troubleshooting.md): 按请求阶段定位故障,处理 HTTP、流式和异步任务错误,并选择安全的重试方式。 - [生成视频](https://creative-reasoning.com/docs-markdown/zh/video-async.md): 提交文生视频、首帧或参考图请求,查询任务并保存视频。