Skip to content

Image and video generation API

Make your
next idea visible.

From the first image to the final frame.
Explore image and video AI, then bring it into your product with one API.

MLMUX / CREATIVE NOTEBOOK
A sculptural paper lamp with pressed botanical details, surrounded by sunlit greenery
Image concept
A CREATIVE DIRECTION / 01

A little light. A new perspective.

THE IDEA

A sculptural lamp made from handmade paper, pressed botanicals, soft afternoon light. An object that feels at home in nature.

Model
Nano Banana Pro
Workflow
Text to image
Explore this model
Start with a prompt. Make it your own.Composition · texture · light
Different strengths. One place to build.
GoogleOpenAIByteDance

01 / The model shelf

Find the right tool
for what you have in mind.

Explore a focused collection of image and video models. Pick a starting point and shape it around your idea.

8 models
Swipe or scroll to explore the models.View the full catalog

02 / Pricing at a glance

Same official models.
Lower default price.

official runs at the provider's list price. official-cheap, the MLMux default, runs the same model on a lower-cost official route.

Price per image or per second of video on each route
Modelofficialofficial-cheap (default)You save
Nano Banana Pro1K image$0.134$0.06750%
Nano Banana Pro4K image$0.24$0.1250%
Nano Banana 21K image$0.067$0.03450%
GPT Image 21K image$0.053$0.03240%
Seedream 5 Pro2K image$0.09$0.08110%
Seedance 2.5720p video, per second$0.231$0.2138%
Seedance 2.0720p video, per second$0.151$0.1398%
Seedance 2.0 Fast720p video, per second$0.121$0.1118%
Estimates for one image, or one second of video without a reference video; the final charge follows actual token usage. 1 credit = $1, and failed requests are not charged.Compare all rates

03 / Two ways to create

Still images. Moving stories.
A wider creative toolkit.

Different ideas need different controls. Explore the inputs and settings that make each medium useful.

Images with intention.

Move from an idea to a finished visual. Explore composition, materials, lighting, and image references with the model that fits your project.

  • Generate from a prompt

    Describe a scene, object, or style and turn it into a new image.

  • Edit with references

    Guide the result with existing images and natural-language instructions.

  • Shape the output

    Choose the supported resolution, aspect ratio, and output settings for your model.

Nano Banana 2.1 · GPT Image 2 · Nano Banana 2 · Nano Banana Pro

Explore the image API

Motion with direction.

Give an idea a sense of time. Start with a prompt, animate an image, or use references to guide a sequence through the Seedance family.

  • Start with words or an image

    Build a scene from a text prompt or use an image as your starting frame.

  • Guide the sequence

    Explore first and last frames, or multimodal references supported by your model.

  • Choose the delivery

    Set duration, resolution, aspect ratio, and audio options within the model’s limits.

Seedance 2.5 · Seedance 2.0 · Seedance 2.0 Fast · Seedance 2.0 Mini

Explore the video API

04 / A few places to start

What will you make first?

A product concept, a campaign direction, a scene in motion. Start small and explore what your idea can become.

A yellow banana-inspired boucle armchair beside a pale-green table in a bright, plant-filled room
Product concept · image example
A CREATIVE STARTING POINT

Give an idea a shape.

Explore a product before it exists. Work through materials, silhouettes, and settings, then refine the direction with reference images.

TRY A DIRECTION LIKE THIS

A soft armchair shaped like a peeled banana. Tactile upholstery, natural window light, a calm interior filled with plants.

  1. 01Explore the form
  2. 02Refine the materials
  3. 03Find the setting

05 / Made to plug in

The creative part
is yours.
The API is ours.

One API key for image and video generation. Use familiar HTTP requests, choose your model, and build the workflow your product needs.

  • Authenticate with a bearer token.
  • Choose a model and route on each request.
  • Use returned media URLs in your application.
  • Follow asynchronous video tasks to completion.
Read the quickstart
curl https://api.mlmux.com/v1/images/generations \
  -H "Authorization: Bearer $MLMUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/nano-banana-pro",
  "route_mode": "official-cheap",
  "prompt": "A paper lamp in a sunlit garden",
  "resolution": "2K"
}'
POST /v1/images/generationsAPI reference
01 / REQUEST

Describe what to make.

Send your prompt, model, route, and the input settings your workflow needs.

02 / TASK

Follow the progress.

Video requests return a task you can poll while the model creates your result.

03 / OUTPUT

Bring the result back.

Retrieve the completed media URL and use it in your application or creative workflow.

06 / Room to make it yours

A clear path from
experiment to integration.

Explore the console
01

Try it in the playground.

Explore prompts, image references, and output settings before you write the integration.

Explore models
02

Choose your route.

Compare official and official-cheap routes. Choose the option that fits your workflow and budget.

See model pricing
03

Bring it into your app.

Create an API key, send a request, and manage your predictions and usage from the console.

Start integrating

07 / Beyond the first result

The tools around
the creative work.

Keep the everyday details close: credentials, requests, balance, and the events that connect your app to its results.

Keep your API access organized.

Create and manage API keys in your account. Review model permissions and route preferences before connecting an application.

Manage API keys

Understand each request.

Review model usage, request status, timing, and billed amounts. Open request details when a result needs a closer look.

Explore usage logs

Keep spending in view.

Check your balance and billing records in the console. Compare model and route pricing before starting a new workflow.

View credits and billing

Connect your workflow to events.

Configure webhook endpoints for supported request events so your application can respond when work completes or fails.

Configure webhooks
A model is only part of the choice.

Choose official or official-cheap for each request. Review the model’s input requirements and route pricing before you run it.

Explore routes & pricing

08 / Before you begin

A few good
questions.

Start with the essentials. The documentation covers request formats, input requirements, and the next steps for your integration.

Open the documentation
Which models can I use with MLMux?

The catalog includes 14 image models (GPT Image 2, GPT Image 2.5 Flare, GPT Image 2.5 Sunburst, Nano Banana, Nano Banana 2, Nano Banana 2 Lite, Nano Banana 2.1, Nano Banana Pro, Seedream 4.0, Seedream 4.5, Seedream 5.0, Seedream 5 Pro, Qwen Image 2.1 Pro, Qwen Image 2.1 Turbo) and 17 Seedance video models: 2.5, 2.0, 2.0 Fast, and 2.0 Mini. Each model page explains its supported inputs and output settings.

Browse the model catalog
Can I try a model before writing code?

Yes. Open a model page to explore its playground, prompt fields, and available settings. Sign in to run requests through your account, then use the API when you are ready to integrate the workflow.

Open an image playground
Can I use my own images as references?

Supported image models offer reference-guided editing. Video models can use image inputs, first and last frames, or multimodal references depending on the selected model and workflow. Check the model’s input limits before sending references.

Read the image input guide
How do image and video API requests differ?

Send images to https://api.mlmux.com/v1/images/generations and edits to https://api.mlmux.com/v1/images/edits; the images come back in the response. Send videos to https://api.mlmux.com/v1/videos/generations: video generation is asynchronous, so the response provides a task and polling URL, or a webhook notifies you when the video is ready.

Read the video task guide
What are official and official-cheap routes?

Every model offers two route tiers. official-cheap is the default and costs less: 60% of the official token rates for GPT Image, 50% for Nano Banana, 92% of the list price for Seedance, and 90% of the list price for Seedream, Qwen Image, and the other video models. official runs at the provider's list price. Set route_mode on a request or configure route preferences on an API key.

Compare model and route pricing
How is usage priced?

Usage is billed in credits, and 1 credit equals 1 US dollar, with no subscription or monthly fee. Seedance and most image requests are billed on the tokens they actually use; Seedream and Qwen Image have a fixed price per image, and the other video models are billed per second, so the cost depends on the model, route, and resolution: a 1K image starts at about $0.008 and a second of 720p video at about $0.014. Your console shows your balance and usage records; the pricing page lists every rate.

See the pricing details
Am I charged when a request fails?

No. Requests that fail validation or fail at the provider are not charged, and the credits held for them return to your balance. A successful request is charged once.

Read the billing terms
Do credits expire, and is there a free tier?

Purchased credits expire one year after purchase. There is no free tier or sign-up credit: add at least $5 to start, and you pay only for the requests you run.

See how billing works
How many requests can I run at once?

Each account can run up to 60 tasks at the same time. If your workload needs more, email support@mlmux.com to raise the limit.

Read the API guide
Where can I manage API keys and track my requests?

Use the console to manage credentials, inspect request logs, review your balance, and configure supported webhook events. The same account connects your playground work and API usage.

Open the console

09 / Keep building

Your next step, documented.

THE NEXT THING YOU MAKE STARTS HERE.

Have an idea?
Let’s see it.

Start creating