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
p-image-ideogramRun 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
| Name | Type | Description |
|---|---|---|
promptrequired | string | Required. Short text prompt describing the image to generate. Strong at rendering readable text and typographic layouts. |
resolution | string (enum) | Required. Output resolution. |
ratio | string (enum) | Required. Aspect Ratio of the output image. |
thinking | string (enum) | Required. Reasoning effort. Lower values generate faster, higher values improve quality and prompt adherence. |
promptUpsampling | string (enum) | Optional. Default true. Enhance the prompt before generation. |
outputFormat | string (enum) | Optional. Default jpg. Format of the output image. |
outputQuality | integer | Optional. Default 80. Output quality from 0 to 100. Ignored when output format is png. |
seed | integer | 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.
"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