Model API

P-Image Ideogram

Fast images with sharp, legible typography: posters, covers, logos and social graphics with the words spelled right. 1K or 2K in seven aspect ratios; more thinking gives better layouts at a higher price.

Model id

Use this in every request
p-image-ideogram

Run it

Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "p-image-ideogram",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light"
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "p-image-ideogram", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light"}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Input

Input fields for p-image-ideogram
NameTypeDescription
promptrequiredstring
Required. Short text prompt describing the image to generate. Strong at rendering readable text and typographic layouts.
resolutionstring (enum)
Required. Output resolution.

Default: 1K

One of: 1K, 2K

ratiostring (enum)
Required. Aspect Ratio of the output image.

Default: 1:1

One of: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3

thinkingstring (enum)
Required. Reasoning effort. Lower values generate faster, higher values improve quality and prompt adherence.

Default: high

One of: very low, low, medium, high

promptUpsamplingstring (enum)
Optional. Default true. Enhance the prompt before generation.

Default: true

One of: true, false

outputFormatstring (enum)
Optional. Default jpg. Format of the output image.

Default: jpg

One of: jpg, png, webp

outputQualityinteger
Optional. Default 80. Output quality from 0 to 100. Ignored when output format is png.

Default: 80

seedinteger
Optional. Random seed for reproducible generation. Leave empty for a random seed.

Output

A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.

Job excerpt
"outputs": [
  { "type": "image", "url": "https://…", "mime_type": "image/png", "thumbnail_url": "https://…" }
]

Pricing

  • very low · 1K$0.01/ image
  • very low · 2K$0.01/ image
  • low · 1K$0.02/ image
  • low · 2K$0.03/ image
  • medium · 1K$0.02/ image
  • medium · 2K$0.04/ image
  • high · 1K$0.03/ image
  • high · 2K$0.05/ image

The exact charge for your input comes from a quote. How charges settle