Skip to main content
Endpoint:

Request body

Fields

Object details

inputs entry:
String URLs are a shorthand for image inputs. Structured entries use type and source. webhook object:
Set dashboard: false to skip dashboard-managed webhooks for this task. Maximum 5 custom endpoints. Custom endpoints are not signed. See Use Webhooks. access object:
Returns a publicAccessToken for browser-safe polling. See Browser Polling.

Prompt enhancement

Set magic_prompt: true to opt into Mynth-side prompt enhancement. When enabled, the enhanced prompt is returned in result.magic_prompt (with positive and optional negative).

Size presets

  • square
  • portrait
  • landscape
  • portrait_tall
  • landscape_wide
  • 1:1
  • 2:3
  • 3:2
  • 3:4
  • 4:3
  • 4:5
  • 5:4
  • 9:16
  • 16:9
  • 21:9
  • 2:1
  • 1:2
  • 1:1_4k
  • 2:3_4k
  • 3:2_4k
  • 3:4_4k
  • 4:3_4k
  • 4:5_4k
  • 5:4_4k
  • 9:16_4k
  • 16:9_4k
  • 21:9_4k
  • 2:1_4k
  • 1:2_4k

Structured size objects

Aspect ratio

Supported aspect ratios:
  • 1:1
  • 2:3
  • 3:2
  • 3:4
  • 4:3
  • 4:5
  • 5:4
  • 9:16
  • 16:9
  • 21:9
  • 2:1
  • 1:2
Optional scale values:
  • base (default)
  • 4k
When scale: "4k" is requested, models with dedicated 4K pricing are billed at their 4K rate. For each successful output image, input images are billed as perImage + perInput * inputs.length.

Auto

Mynth picks the size automatically. When the model can size natively, that path is used; otherwise Mynth resolves a size for you. This is not configurable.