Mage-Flow RL
API.
Mage-Flow is Microsoft's open-weight 4B model family for image generation and editing. RL is the reinforcement-learning-aligned checkpoint, sitting between Base and Fast.
- PriceFrom $0.0020 per image
- Typical ETA2 s
- Made byMicrosoft
- Released
What it does.
Generate and edit
Text to image, or edit an input image (PNG, JPEG or WebP, 512 to 2048 px per side, up to 10 MB) with a text instruction.
Three checkpoints
Base is the quality-preserving checkpoint at 30 steps, RL is the reinforcement-learning-aligned checkpoint, and Fast is the 4-step Turbo checkpoint.
Open weights
Mage-Flow is released with open weights by Microsoft. Prodia serves it in the Model Zoo, so you call it with an API token like any other model.
Pricing.
Published per-job prices. Prompt and seed do not change the price. All model prices
| Task | Price per image |
|---|---|
| Text to image | $0.0020 to $0.0025 |
| Image editing | $0.025 |
Price range as shown in the Model Explorer. The API can return the actual cost of a completed job.
Call it from your product.
One endpoint for every job type. The response is the generated file.
export PRODIA_TOKEN=your-token-here
curl --fail-with-body --silent --show-error \
-H "Authorization: Bearer $PRODIA_TOKEN" \
-H 'Accept: image/jpeg' \
--json '{
"type": "inference.zoo.mage-flow.rl.txt2img.v0",
"config": {
"prompt": "a sweeping mountain landscape at sunrise, mist rolling over the valleys, warm orange and pink sky"
}
}' \
--output image.jpg \
https://inference.prodia.com/v2/job
API tokens require a Pro subscription. See the quickstart.
| Task | Job type | Typical ETA |
|---|---|---|
| Text to image | inference.zoo.mage-flow.rl.txt2img.v0 | 2 s |
| Image editing | inference.zoo.mage-flow.rl.img2img.v0 | 7 s |
Compare Mage-Flow checkpoints.
Same model family and price; pick by speed and quality.
| Checkpoint | What it is | Typical ETA |
|---|---|---|
| Mage-Flow Base | Quality-preserving, 30 steps | 3 s |
| Mage-Flow RL | Reinforcement-learning aligned, between Base and Fast | 2 s |
| Mage-Flow Fast | 4-step Turbo, the quickest | 1 s |


