Muse Image Text to Image
Generate low-cost images from detailed prompts covering the subject, composition, lighting, mood, and style.
The Meta Muse Image API hub combines fast text-to-image generation with instruction-based editing and multi-image compositing. Use one Muapi workflow to create a base image, refine references, and return web-friendly output formats.
Generate low-cost images from detailed prompts covering the subject, composition, lighting, mood, and style.
Edit or combine up to ten reference images with a natural-language instruction and optional output framing.
Meta Muse Image is a compact image family on Muapi with two complementary endpoints. Text to Image generates a new image from a detailed prompt, while Edit applies an instruction to one or more reference images for transformations and composites.
Both endpoints cost $0.02 per image and support six aspect ratios plus webp, png, and jpeg output. Edit requires images_list with up to ten source image URLs; its aspect ratio is optional so the source layout can be preserved.
Describe the subject, scene, composition, lighting, mood, and style in one required prompt.
Apply natural-language transformations to one or more reference images.
Pass up to ten image URLs to combine references into a single scene.
Choose webp, png, or jpeg output for downstream product and content workflows.
Generate fast visual directions for campaigns, storyboards, product concepts, and social content.
Combine several source images into one scene while describing the desired lighting and color grade.
Generate a base asset with Text to Image, then refine it through the Edit endpoint in the same API integration.
Submit a Muse Image text-to-image task with your Muapi key, receive a request ID, and poll the shared predictions endpoint for the generated image URL.
curl -X POST https://api.muapi.ai/api/v1/muse-image-text-to-image \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A cozy reading nook by a rain-streaked window, warm lamp light, potted plants","aspect_ratio":"16:9","output_format":"webp"}'
# Response: {"request_id":"REQUEST_ID"}The example calls Text to Image with a prompt, aspect ratio, and webp output. Switch to muse-image-edit and include images_list for an instruction-based edit.
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \ -H "x-api-key: YOUR_API_KEY"
Poll until the task completes, then read the generated image URL from the result response.
Muapi lists muse-image-text-to-image for prompt generation and muse-image-edit for instruction-based editing or compositing.
The images_list field accepts up to ten source image URLs. The prompt describes the requested edit or composite.
Both endpoints support 1:1, 16:9, 9:16, 4:3, 3:4, and 21:9. Output can be webp, png, or jpeg.
The Edit schema allows aspect_ratio to be omitted so the output can use the source image's dimensions.
Both Text to Image and Edit cost $0.02 per image.
Connect low-cost prompt generation and multi-image editing through one Muapi API key and a shared asynchronous workflow.