# Yir > Image & Video API Router: one API, the right channel for every job. Real-time channel pricing and automatic failover. Yir provides one public job model across certified providers. Public product pages describe canonical models and capabilities; provider offerings, credentials, internal scores, and execution plans are not public concepts. ## Entry points - [Website](https://yir.ai): product overview and public channel pricing - [Documentation](https://yir.ai/docs): guides and API reference - [Gateway](https://gateway.yir.ai): Bearer-only API endpoint for Jobs - [Console](https://yir.ai/console): API keys, wallet, logs and playground - [Sitemap](https://yir.ai/sitemap.xml) - [Documentation sitemap](https://yir.ai/docs/sitemap.xml) ## Integration - [Quickstart](https://yir.ai/docs/getting-started/quickstart) - [SDKs](https://yir.ai/docs/integrations/sdk): official TypeScript (@yir-ai/sdk) and Go SDKs for quoting, submitting, waiting for, and collecting Jobs - [Agent Skill](https://yir.ai/docs/integrations/agent-skill): official skill (github.com/yir-ai/skills) that lets Claude Code, Codex and other coding agents generate images and videos directly, including budgeted batches of page or article assets - [API reference](https://yir.ai/docs/reference) - [OpenAI compatibility](https://yir.ai/docs/integrations/openai-compatibility): OpenAI Images and Sora video endpoints for OpenAI SDKs and new-api; images and video only, no chat - [Model catalog](https://yir.ai/models): every model page has a Markdown version at https://yir.ai/models/.md with current prices, parameters and integration code - [中文接入文档](https://yir.ai/zh/docs/getting-started/quickstart) For new code, use an official SDK against https://gateway.yir.ai. For projects that already use the OpenAI SDK or an OpenAI-protocol gateway such as new-api, use the OpenAI-compatible endpoints instead: OpenAI SDK base_url https://gateway.yir.ai/openai/v1, gateway channel Base URL https://gateway.yir.ai/openai. Use the selected canonical model ID exactly. Read its current operation and parameter contract before constructing a request; do not infer supported inputs from a marketing description. Prices and execution availability are current gateway facts, not constants to copy from this index. Authenticate with Authorization: Bearer . Keep the key on the server in an environment variable, never in browser code, source control, prompts, or logs. Do not send upstream provider keys. Follow the documented asynchronous flow: submit a job, retain its ID, wait for a terminal result, then consume the delivered files. Handle failure and cancellation. For safe submission retries, persist and reuse the same idempotency key and request; do not blindly resubmit an unknown result. Result URLs are temporary. When helping a user integrate, inspect their project and reuse its stack. Ask them to configure credentials locally. Do not run paid generation requests or deploy without their approval.