Skip to main content
This guide walks you through generating an image with Nano Banana using APIXO’s async task flow.

Prerequisites

  • An APIXO account (sign up free)
  • For the direct REST examples below, your API key (get one here). The remote MCP connection uses browser OAuth instead.

Let your AI coding tool integrate APIXO for you

Connect Cursor, Claude Code, Codex, or another client with remote MCP and OAuth support to APIXO MCP at https://mcp.apixo.ai/mcp, using the name apixo-mcp. Sign in through apixo.ai browser OAuth. No local MCP installation, Node.js, or API key shared with the AI client is required. Once connected, try a prompt like:
The agent can use the free, read-only list_models and get_model_schema tools to discover a model’s parameters, then write the generateTask + statusTask REST flow into your codebase. get_profile confirms which account is connected, for free. MCP generation tools such as generate_task are billable; get_generation checks a generation’s status and result. The MCP catalog covers generation task models and excludes Chat/LLM gateways. For those models, use the Chat API or compatible SDKs, changing the base URL and configuring an APIXO API key in your application.

Connect APIXO MCP

Remote setup for Codex, Claude Code, Cursor, and other clients, with browser sign-in and free verification tools.
Prefer to wire up the API yourself? Continue with the steps below.

Step 1: Submit a Generation Task

Response:

Step 2: Poll for Results

Wait a few seconds, then check the task status:
Success Response:

Step 3: Download Your Image

The resultUrls 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:

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