Meta Muse Image
Model Overview
Meta Muse Image is a text-to-image model with faithful instruction-following and exceptional visual fidelity — fine details like text, plots, and QR codes render accurately.
API Schema
post
Body
modelstring · enumRequiredPossible values:
promptstringRequired
The text prompt describing the content, style, or composition of the image to be generated.
num_imagesnumber · min: 1 · max: 10OptionalDefault:
The number of images to generate.
1aspect_ratiostring · enumOptionalPossible values:
The aspect ratio of the generated image. If omitted, Muse chooses the output dimensions automatically based on the prompt.
output_formatstring · enumOptionalDefault:
The format of the generated image.
webpPossible values: Responses
200
Successful response.
application/json
post/v1/images/generations
curl --request POST \
--url 'https://api.aimlapi.com/v1/images/generations' \
--header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \
--header 'Content-Type: application/json' \
--data '{"model": "meta/muse-image", "prompt": "Describe what you want the model to generate."}'200
Successful response.
{
"data": [
{
"url": "https://cdn.aimlapi.com/generations/hedgehog/1749730923700-29fe35d2-4aef-4bc5-a911-6c39884d16a8.png",
"b64_json": null
}
],
"meta": {
"usage": {
"credits_used": 120000,
"usd_spent": 0.06
}
}
}Code Example
Last updated
Was this helpful?