Prerequisites
- An APIXO account (sign up free)
- Your API key (get one here)
Let your AI coding tool integrate APIXO for you
If you build with an AI coding tool — Cursor, Claude Code, Codex, Claude Desktop, Windsurf, or any other MCP-compatible client — the fastest way to add APIXO to your project is to install APIXO MCP. It exposes APIXO’s model catalog and schemas to your agent, so the agent can write correct, parameter-accurate integration code straight into your repo — instead of you reading the docs and copying curl examples. Once installed, try a prompt like:apixo_list_models and apixo_get_model_schema to look up the model’s exact parameters, then write the generateTask + statusTask flow into your codebase. It can also submit ad-hoc tasks or check your balance when you ask it to.
Install APIXO MCP
Five-minute setup for Cursor, Claude Code, Codex, and other MCP clients on Windows, macOS, and Linux.
Step 1: Submit a Generation Task
- cURL
- JavaScript
- Python
Step 2: Poll for Results
Wait a few seconds, then check the task status:- cURL
- JavaScript
- Python
Step 3: Download Your Image
TheresultUrls array contains direct links to your generated images. Open the URL in a browser or download programmatically.
Generated images are available for 24 hours. Download and store important results.
Complete Example
Here’s a complete working example:- JavaScript
- Python
Next Steps
How APIXO Works
Learn the difference between Generation APIs and the Chat API
Generation API Overview
Browse image, video, and audio model API docs
Chat API
Use Claude, OpenAI, and Gemini compatible APIs
Best Practices
Optimize polling, retries, and production reliability