# One AI API for Video, Image & Music Models — Giky API > Official developer reference for Giky API at https://gikyapi.com. API base: https://gikyapi.com. > Use the live catalog as the source of truth for published model IDs, operations, parameters, availability, and prices. Video, image, and music models are usable only after they appear there. Giky API uses one asynchronous task workflow across supported models: submit a task, save its ID, then poll until it succeeds or fails. Calls can incur charges. Keep API keys on your server and never guess a model ID or parameter. ## Quick Start ```bash export AI_API_BASE_URL="https://gikyapi.com" export AI_API_KEY="YOUR_API_KEY" export REQUEST_ID="YOUR_STABLE_REQUEST_ID" curl --fail-with-body -X POST "$AI_API_BASE_URL/v1/tasks" \ -H "Authorization: Bearer $AI_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $REQUEST_ID" \ -d '{"model":"seedream-5-flash","operation":"text-to-image","input":{"prompt":"A blue cup on a white table","resolution":"2K"}}' ``` HTTP 202 means the task was recorded, not completed. Save the returned `id`, wait at least five seconds between checks, and query it with the same API key: ```bash curl --fail-with-body "$AI_API_BASE_URL/v1/tasks/TASK_ID" \ -H "Authorization: Bearer $AI_API_KEY" ``` Task states are `queued`, `submitting`, `running`, `succeeded`, `failed`, and `needs_review`. Read output URLs only after `succeeded`. A timeout or HTTP 5xx does not prove submission failed: replay the identical body with the same idempotency key instead of creating a second paid task. ## Core API - [Giky API Documentation](https://gikyapi.com/docs-text/overview.md): Connect your application or AI coding tool to supported models through the REST task API or hosted MCP server. The current catalog covers image, video, music and audio capabilities as they become available. Start with model discovery, then add task tracking and billing controls. - [Giky API Quickstart: Create Your First Generation](https://gikyapi.com/docs-text/quickstart.md): Create a key, check your balance, submit an image task and retrieve the generated file. The example uses the Seedream 5 Flash configuration verified through our website. - [Authentication & API keys](https://gikyapi.com/docs-text/authentication.md): Send a Bearer key from your server. Keep your account login and application credentials separate. - [POST /v1/tasks](https://gikyapi.com/docs-text/create-task.md): Create one asynchronous image or video generation task. Send the exact public model ID, operation and supported input. - [Query tasks & retrieve results](https://gikyapi.com/docs-text/task-status.md): Poll with the same API key. Querying status never creates another generation. ## Integration, Reliability & Billing - [Giky API Python Quickstart](https://gikyapi.com/docs-text/python.md): A complete standard-library example for Python 3. Set AI_API_KEY in the environment and run from your backend. - [Giky API JavaScript Quickstart](https://gikyapi.com/docs-text/javascript.md): Use built-in fetch from a Node.js server. No browser-side key or unofficial SDK is required. - [Giky API Client Libraries](https://gikyapi.com/docs-text/client-libraries.md): Use the public OpenAPI contract to generate a typed client, or start with the maintained JavaScript and Python request examples. The task API uses ordinary HTTPS and JSON, so a package is optional. - [Webhooks & delivery](https://gikyapi.com/docs-text/webhooks.md): Receive signed task notifications at an endpoint you configure in your dashboard, or poll for results through the API. - [Errors, limits & safe retries](https://gikyapi.com/docs-text/errors.md): Separate HTTP rejection, uncertain submission and a completed task failure. They need different recovery actions. - [Pricing, balance & settlement](https://gikyapi.com/docs-text/billing.md): Generation uses your prepaid USD balance and the model’s published configuration price. Recharge checkout and generation billing are separate systems. - [Giky API MCP Server](https://gikyapi.com/docs-text/mcp.md): Connect an AI coding tool to the hosted Giky API MCP server. Discover models without a key, then use your own API key for task operations. - [Giky API Agent Integration Guide](https://gikyapi.com/docs-text/agents.md): Connect your coding assistant through the hosted MCP server, or give it the API contract when you want it to build an ordinary HTTP integration. ## Model Catalog & Categories - [Model IDs, parameters & prices](https://gikyapi.com/docs-text/models.md): Use an exact version and a priced operation. Similar model names do not imply identical parameters. - [Image generation API](https://gikyapi.com/docs-text/images.md): Compare image generation and editing models, check supported resolutions and inputs, then submit through the shared task API. - [Video generation API](https://gikyapi.com/docs-text/videos.md): Compare text-to-video and image-to-video models, check duration, resolution and audio support, then submit through the shared task API. ## Image Models - [GPT Image 2 API Documentation](https://gikyapi.com/docs-text/model-gpt-image-2.md): Generate images with GPT Image 2. Submit a request, save the task ID, then query for the finished image. - [GPT Image 2.5 Flare API Documentation](https://gikyapi.com/docs-text/model-gpt-image-2-5-flare.md): Generate images with GPT Image 2.5 Flare. Submit a request, save the task ID, then query for the finished image. - [GPT Image 2.5 Sunburst API Documentation](https://gikyapi.com/docs-text/model-gpt-image-2-5-sunburst.md): Generate images with GPT Image 2.5 Sunburst. Submit a request, save the task ID, then query for the finished image. - [Nano Banana API Documentation](https://gikyapi.com/docs-text/model-nano-banana.md): Generate images with Nano Banana. Submit a request, save the task ID, then query for the finished image. - [Nano Banana 2.1 API Documentation](https://gikyapi.com/docs-text/model-nano-banana-2-1.md): Generate images with Nano Banana 2.1. Submit a request, save the task ID, then query for the finished image. - [Nano Banana Pro API Documentation](https://gikyapi.com/docs-text/model-nano-banana-pro.md): Generate images with Nano Banana Pro. Submit a request, save the task ID, then query for the finished image. - [Qwen Image (original) API Documentation](https://gikyapi.com/docs-text/model-qwen-image.md): Generate images with Qwen Image (original). Submit a request, save the task ID, then query for the finished image. - [Seedream 5 Flash API Documentation](https://gikyapi.com/docs-text/model-seedream-5-flash.md): Generate images with Seedream 5 Flash. Submit a request, save the task ID, then query for the finished image. - [Seedream 5 Lite API Documentation](https://gikyapi.com/docs-text/model-seedream-5-lite.md): Generate images with Seedream 5 Lite. Submit a request, save the task ID, then query for the finished image. - [Seedream 5 Pro API Documentation](https://gikyapi.com/docs-text/model-seedream-5-pro.md): Generate images with Seedream 5 Pro. Submit a request, save the task ID, then query for the finished image. ## Video Models - [Grok Video 2.0 API Documentation](https://gikyapi.com/docs-text/model-grok-video-2-0.md): Generate videos with Grok Video 2.0. Submit a request, save the task ID, then query for the finished video. - [Kling 4.0 API Documentation](https://gikyapi.com/docs-text/model-kling-4-0.md): Generate videos with Kling 4.0. Submit a request, save the task ID, then query for the finished video. - [MiniMax H3 API Documentation](https://gikyapi.com/docs-text/model-minimax-h3.md): Generate videos with MiniMax H3. Submit a request, save the task ID, then query for the finished video. - [Seedance 2.0 API Documentation](https://gikyapi.com/docs-text/model-seedance-2-0.md): Generate videos with Seedance 2.0. Submit a request, save the task ID, then query for the finished video. - [Seedance 2.5 API Documentation](https://gikyapi.com/docs-text/model-seedance-2-5.md): Generate videos with Seedance 2.5. Submit a request, save the task ID, then query for the finished video. - [Veo 3.1 Standard API Documentation](https://gikyapi.com/docs-text/model-veo-3-1-standard.md): Generate videos with Veo 3.1 Standard. Submit a request, save the task ID, then query for the finished video. - [Wan 3.0 API Documentation](https://gikyapi.com/docs-text/model-wan-3-0.md): Generate videos with Wan 3.0. Submit a request, save the task ID, then query for the finished video. ## Capability Selection Guides - [Text to Image API](https://gikyapi.com/capabilities/text-to-image-api/): Compare text to image API models, output resolutions, controls and published generation prices. Integrate image generation through one task API. - [Image to Image API](https://gikyapi.com/capabilities/image-to-image-api/): Compare image to image API models for editing and transformation. Review reference limits, output settings and current configuration pricing. - [Text to Video API](https://gikyapi.com/capabilities/text-to-video-api/): Compare text to video API models, clip durations, resolutions, audio controls and published per-second pricing through one developer workflow. - [Image to Video API](https://gikyapi.com/capabilities/image-to-video-api/): Compare image to video API models including Kling, Seedance and Wan. Review duration, resolution, audio controls and published prices. ## Product Use-Case Guides - [Build an AI Video App with Multiple Model APIs](https://gikyapi.com/use-cases/ai-video-app/): Build an AI video generation app with text-to-video and image-to-video APIs, asynchronous tasks, model selection and configuration pricing. - [Build an AI Image App with Generation and Editing APIs](https://gikyapi.com/use-cases/ai-image-app/): Build an AI image app with text-to-image and image-to-image endpoints, model comparison, input validation and configuration pricing. - [Build an AI SaaS Product with Multi-Model APIs](https://gikyapi.com/use-cases/ai-saas/): Design an AI SaaS product with model routing, prepaid usage, task history and image or video generation through one API workflow. - [Create E-commerce Product Images and Videos with AI APIs](https://gikyapi.com/use-cases/ecommerce/): Build e-commerce creative workflows with image generation, reference-guided editing and image-to-video APIs using published model controls and pricing. - [Build AI Advertising Creative Workflows](https://gikyapi.com/use-cases/advertising/): Automate advertising creative variations with image and video APIs, explicit model routing, configuration pricing and review workflows. - [Connect AI Agents to Image and Video APIs](https://gikyapi.com/use-cases/ai-agent/): Give AI agents explicit tools for model discovery, generation task submission, status checks and image or video result retrieval. - [Build AI Image and Video Generation Plugins](https://gikyapi.com/use-cases/ai-plugin/): Add image and video generation to editors, IDEs and workflow tools with explicit endpoint schemas, task APIs and model selection. - [Automate Short Video Generation with AI APIs](https://gikyapi.com/use-cases/short-video/): Automate short-video generation from prompts or images with model selection, duration pricing, asynchronous tasks and publishing review. ## Machine-Readable Resources - [Full developer documentation](https://gikyapi.com/llms-full.txt): Combined developer reference for assistants that need the complete API documentation in one file. - [OpenAPI contract](https://gikyapi.com/openapi.json): Request and response schemas for the public task API. - [Live public catalog](https://gikyapi.com/api/catalog): Current model IDs, operations, parameters, prices, and generation availability. Hosted MCP is available at https://gikyapi.com/mcp. Model discovery is public; account task tools use the caller's Giky API key from the connection Authorization header. No official SDK is currently published. Provider routing is private and must not be inferred from public model names.