text-to-image

Google Nano Banana Pro Edit Ultra

Nano Banana Pro Edit (Gemini 3.0 Pro Image) is Google’s advanced AI-powered image editing and generation model, designed to make visual transformation as intuitive as describing it in words. Built on Google’s cutting-edge computer vision and generative research, it combines precision, flexibility, and semantic awareness for professional-grade editing.

Use one of our client libraries to get started quickly.

Google Nano Banana Pro Edit Ultra

Nano Banana Pro Edit (Gemini 3.0 Pro Image) is Google’s advanced AI-powered image editing and generation model, designed to make visual transformation as intuitive as describing it in words. Built on Google’s cutting-edge computer vision and generative research, it combines precision, flexibility, and semantic awareness for professional-grade editing.. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Image output~5-15sfrom $0.17/run

1. Calling the API

Submit a request

Send a POST request to start generation. The API returns immediately with a prediction ID for polling.

curl -X POST "https://api.vibedream.ai/api/v1/models/edit-ultra/generate" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $VIBEDREAM_API_KEY" \
  -d '{
    "prompt": "A beautiful sunset over mountains with golden light",
    "images": [
        "https://example.com/image1.jpg"
    ],
    "aspect_ratio": "1:1",
    "resolution": "4k",
    "output_format": "jpeg",
    "enable_sync_mode": false,
    "enable_base64_output": false
}'

2. Authentication

The API uses an API Key for authentication.

Get your API Key

Get your API key from vibedream.ai/models/api-keys.

Environment variable

export VIBEDREAM_API_KEY="your-api-key"

3. Queue & Results

Generation requests are queued and processed asynchronously. Poll the prediction endpoint until status is completed or failed.

Submit request

curl -X POST "https://api.vibedream.ai/api/v1/models/edit-ultra/generate" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $VIBEDREAM_API_KEY" \
  -d '{
    "prompt": "A beautiful sunset over mountains with golden light",
    "images": [
        "https://example.com/image1.jpg"
    ],
    "aspect_ratio": "1:1",
    "resolution": "4k",
    "output_format": "jpeg",
    "enable_sync_mode": false,
    "enable_base64_output": false
}'

Response

Returns immediately with a prediction ID. Use id to poll for results.

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "processing",
  "statusUrl": "https://api.vibedream.ai/api/v1/predictions/550e8400-e29b-41d4-a716-446655440000",
  "estimatedTime": "5-15s",
  "costCents": 17,
  "createdAt": "2025-01-15T12:00:00.000Z"
}

Get the result

Polling

# Replace YOUR_PREDICTION_ID with the id from the submit response
curl "https://api.vibedream.ai/api/v1/predictions/YOUR_PREDICTION_ID" \
  -H "Authorization: Bearer $VIBEDREAM_API_KEY"

# Poll every 1-2s until status is "completed" or "failed"

Completed response

outputs is string[] — an array of direct download URLs hosted on assets.vibedream.ai.

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "modelId": "edit-ultra",
  "modelName": "Google Nano Banana Pro Edit Ultra",
  "status": "completed",
  "outputs": [
    "https://assets.vibedream.ai/outputs/550e8400-e29b-41d4-a716-446655440000/1736942400000-0.png"
  ],
  "error": null,
  "createdAt": "2025-01-15T12:00:00.000Z",
  "completedAt": "2025-01-15T12:00:30.000Z"
}

Failed response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "modelId": "edit-ultra",
  "modelName": "Google Nano Banana Pro Edit Ultra",
  "status": "failed",
  "outputs": null,
  "error": "Your request was flagged by content moderation. Please modify your prompt.",
  "createdAt": "2025-01-15T12:00:00.000Z",
  "completedAt": "2025-01-15T12:00:05.000Z"
}
FieldTypeDescription
idstringUnique prediction ID (UUID).
modelIdstringID of the model used for generation.
modelNamestringHuman-readable model name.
statusstringCurrent status. One of: processing, completed, failed.
outputsstring[] | nullArray of output URLs. Each URL is a direct download link to the generated file on assets.vibedream.ai. null when still processing or failed.
errorstring | nullError message if the generation failed. null on success.
createdAtstringISO 8601 timestamp when the request was submitted.
completedAtstring | nullISO 8601 timestamp when generation finished. null while processing.

4. Schema

Input

ParameterTypeRequiredDefaultRangeDescription
promptstringYes----Input text prompt for image editing.
imagesstring | string[]Yes----Upload the existing image to be edited.Pass a single image URL (string) or multiple image URLs (string[]). Accepted formats: JPEG, PNG, GIF, WebP.
aspect_ratiostringNo--1:1, 4:3, 16:9, 21:9Choose the aspect ratio for the output image.
resolutionstringNo--4k, 8kSelect the resolution for the output image.
output_formatstringNo--jpeg, pngChoose the output format of the image.
enable_sync_modebooleanNo----Wait for the result to be generated before returning the response.
enable_base64_outputbooleanNo----Encode the output into a BASE64 string instead of a URL.

Example request

{
    "prompt": "A beautiful sunset over mountains with golden light",
    "images": [
        "https://example.com/image1.jpg"
    ],
    "aspect_ratio": "1:1",
    "resolution": "4k",
    "output_format": "jpeg",
    "enable_sync_mode": false,
    "enable_base64_output": false
}

Output

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "modelId": "edit-ultra",
  "modelName": "Google Nano Banana Pro Edit Ultra",
  "status": "completed",
  "outputs": [
    "https://assets.vibedream.ai/outputs/550e8400-e29b-41d4-a716-446655440000/1736942400000-0.png"
  ],
  "error": null,
  "createdAt": "2025-01-15T12:00:00.000Z",
  "completedAt": "2025-01-15T12:00:30.000Z"
}