Skip to main content
The prompt is a plain string. For additional controls, use the top-level request fields.
prompt: "An orange cat astronaut on the moon";

Negative prompts

Pass a separate negative_prompt field to discourage certain content:
prompt: "Editorial portrait of a cyclist in the rain",
negative_prompt: "text, watermark, extra limbs",
Whether negative prompts are meaningful depends on the model. Check the model’s capabilities.

Magic prompt (enhancement)

Set magic_prompt: true to let Mynth rewrite your prompt before sending it to the model for potentially better results:
prompt: "Luxury skincare product photo on sculpted stone",
magic_prompt: true,
When magic prompt is enabled, the task result includes a magic_prompt object with the rewritten positive and negative prompts:
{
  "magic_prompt": {
    "positive": "...",
    "negative": "..."
  }
}
Omit magic_prompt or set it to false to send the prompt as-is.