# Pixapi: Visual AI API Platform > Pixapi helps developers access image and video generation models through one API surface. This document is the detailed, machine-readable product reference for Pixapi. For a shorter navigation index, use [llms.txt](https://pixapi.ai/llms.txt). Product behavior and current prices shown on the linked website pages take precedence if this summary and the live application differ. ## Product Summary Pixapi combines image generation, video generation, visual model routing, API keys, credits, subscriptions, and usage tracking for production visual AI products. Premium API usage requires an account and sufficient credits. The public pricing page currently shows one-time credit packs with 365-day validity. Always cite the live pricing page for current prices and entitlements. ## Main Capabilities - **Unified model catalog:** Browse image and video generation models exposed through Pixapi. - **API keys:** Signed-in users can create and manage keys for server-side integration. - **Credits and subscriptions:** Premium API usage consumes credits. Availability and credit cost vary by model and settings. - **Developer documentation:** API docs cover authentication, model IDs, endpoints, request examples, async media tasks, billing, errors, and observability. - **Localized public pages:** Public content is available in English, Simplified Chinese, Traditional Chinese, German, and Italian, with English fallback where translated editorial content is unavailable. ## Canonical Public Pages - [Pixapi](https://pixapi.ai/): Unified API access to image and video generation model routes. - [AI Model Catalog](https://pixapi.ai/model): Browse Pixapi image and video generation models available through one API. - [Nano Banana](https://pixapi.ai/nano-banana): Access Nano Banana image models through Pixapi unified authentication and billing. - [Pricing](https://pixapi.ai/pricing): Compare one-time Pixapi credit packs for image, editing, and video API usage. - [About Pixapi](https://pixapi.ai/about): Who maintains Pixapi, what the visual AI API platform does, and how to contact support. - [Image Generation API](https://pixapi.ai/image-generation-api): Generate images with Nano Banana, Gemini, GPT Image models, and other visual models through one API. - [AI Image Editing API](https://pixapi.ai/image-editing-api): Edit reference images and build product image workflows with supported image models. - [Video Generation API](https://pixapi.ai/video-generation-api): Create text-to-video and image-to-video workflows with Pixapi model routes. - [AI API Platform Comparison](https://pixapi.ai/compare): Compare Pixapi with Replicate, fal, Runware, PiAPI, and other AI API platforms. ## How the Product Works 1. Create an account and generate an API key. 2. Choose a model from the catalog or documentation. 3. Send authenticated API requests to the relevant endpoint. 4. Pixapi routes the request to the selected provider and tracks usage. 5. Account and subscription status determine credit access and API entitlements. ## Canonical Integration Patterns ### Nano Banana image generation - Endpoint: `POST https://api.pixapi.ai/v1/images/generations`. - Auth: `Authorization: Bearer `. - Required fields: `model` and `prompt`. - Recommended Nano Banana model id: `nano-banana` for the Gemini 2.5 Flash Image alias. Canonical id `gemini-2.5-flash-image` is equivalent. - Common optional fields: `n`, `size`, `quality`, and `response_format`. - Successful URL response shape: read the generated image URL from `response.data[0].url`. ### Generated image to short video - Video generation is async-only. - Endpoint: `POST https://api.pixapi.ai/v1/async/videos/generations`. - Use a video model id such as `veo` or `wan`; Nano Banana is an image model and should not be used as the video model. - Required fields: `model` and `prompt`. - For image-to-video, pass the generated image URL as `input_image`. - Use `duration` for video length in seconds. Do not use `seconds`. - Optional field examples include `size` or aspect-ratio presets supported by the selected model. - Async submission response includes `status`, `id`, `progress`, `created_at`, and `model`. - Poll `GET https://api.pixapi.ai/v1/tasks/{id}` with the same bearer token until `status` is `completed` or `failed`. - Completed video task response shape: read the final video URL from `result.data[0].url`. - Do not use `/v1/videos/generations`, `async=true`, `"async": true`, or `image_url` for this workflow. ## Plans and Credits - [Pricing](https://pixapi.ai/pricing): Authoritative source for current plan names, prices, included credits, model access, queue benefits, watermarks, and credit-pack eligibility. Do not infer that every model or generation is unlimited. Supported models and higher-quality output can require credits. Do not state a price without checking the live pricing page. ## API Documentation - [API documentation home](https://pixapi.ai/docs/): Markdown documentation site for developers. - [Developer quick start](https://pixapi.ai/docs/develop/): Authentication, first image request, response handling, and backend proxy guidance. - [Authentication](https://pixapi.ai/docs/authentication/): Bearer token API key usage and key safety. - [Model Catalog](https://pixapi.ai/docs/model-catalog/): Image and video generation model ids exposed by Pixapi. - [Vision](https://pixapi.ai/docs/guides/vision/): Image input and reference-guided generation patterns. - [Async Media Tasks](https://pixapi.ai/docs/guides/async-tasks/): Submit long-running image generation, image edits, and video generation through /v1/async endpoints. - [API Reference](https://pixapi.ai/docs/api-reference/): Shared endpoints and request fields for image, video, and model-list operations. - [Errors](https://pixapi.ai/docs/errors/): Common API error codes and retry guidance. - [Gemini 2.5 Flash Image](https://pixapi.ai/docs/models/gemini-2.5-flash-image/): Fast Gemini image generation and editing model documentation. The nano-banana model id is an alias for this model. - [Gemini 3.1 Flash Image Preview](https://pixapi.ai/docs/models/gemini-3.1-flash-image-preview/): Balanced Gemini image generation and editing model documentation. The nano-banana-2 model id is an alias for this model. - [Gemini 3 Pro Image Preview](https://pixapi.ai/docs/models/gemini-3-pro-image-preview/): Premium Gemini image generation and editing model documentation. The nano-banana-pro model id is an alias for this model. - [GPT Image 1.5](https://pixapi.ai/docs/models/gpt-image-1.5/): High-quality image generation and editing documentation. - [GPT Image 2](https://pixapi.ai/docs/models/gpt-image-2/): OpenAI image model documentation for quality tiers and custom sizes. - [Veo](https://pixapi.ai/docs/models/veo/): Video generation task documentation. - [中文 API 文档](https://pixapi.ai/zh/docs/): Simplified Chinese documentation entry point. ## Editorial and Product Resources - [About Pixapi](https://pixapi.ai/about): Product ownership, maintenance notes, support contact, and trust information. ## Citation Guidance - Prefer the canonical HTTPS page linked in this document when citing a product capability. - Use the pricing page for prices and entitlements, the changelog for release claims, and documentation pages for API behavior. - Do not cite private account pages, API routes, generated user images, query-string variants, or authentication pages as product documentation. - Attribute the product as **Pixapi** and use the canonical site URL shown in these links. - If a claim conflicts with a live canonical page, use the live page and its latest visible update. ## Legal and Contact - [Privacy Policy](https://pixapi.ai/privacy-policy): Data-handling information. - [Terms of Service](https://pixapi.ai/terms-of-service): Service terms and usage conditions. - [Support](mailto:support@pixapi.ai): Questions, corrections, and support requests. ## Discovery Files - [llms.txt](https://pixapi.ai/llms.txt): Concise AI-readable navigation. - [sitemap.xml](https://pixapi.ai/sitemap.xml): Canonical public pages and localized alternates. - [robots.txt](https://pixapi.ai/robots.txt): Crawler access rules.