Amazon-Nova-Canvas

Amazon-Nova-Canvas

Provider: Amazon
Category: Image Generation
Endpoint: POST /v1/images/generations
Context window:
Served from:

Image generation and editing model creating and modifying images from text or image inputs, with inpainting, virtual try-on, and style controls.

At a glance

FieldValue
Model idamazon-nova-canvas
Input modalitiestext
Output modalitiesimage
Context window
Region
Featuresinpainting, background_removal
NewNo
Native inferenceNo

Pricing

ChargeSpecRate
Small Standard (≤1024×1024)per image$0.12
Small Premium (≤1024×1024)per image$0.18
Large Standard (≤2048×2048)per image$0.18
Large Premium (≤2048×2048)per image$0.24

Example request

$curl https://api.empiriolabs.ai/v1/images/generations \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "amazon-nova-canvas", "prompt": "a misty forest at dawn", "size": "1024x1024"}'

Parameters

ParameterTypeRequiredDefaultDescription
task_typeenumno"TEXT_IMAGE"Job kind. INPAINTING/OUTPAINTING/IMAGE_VARIATION/COLOR_GUIDED/BACKGROUND_REMOVAL/VIRTUAL_TRY_ON each enable different sub-params. · Allowed: TEXT_IMAGE, IMAGE_VARIATION, INPAINTING, OUTPAINTING, BACKGROUND_REMOVAL, COLOR_GUIDED_GENERATION, VIRTUAL_TRY_ON
promptstringyesPrompt. Required for all task types except BACKGROUND_REMOVAL.
negative_promptstringno""What to avoid.
aspect_ratioenumno"1:1"Output aspect ratio. · Allowed: 1:1, 3:4, 2:3, 9:16, 1:2, 1:3, 1:4, 4:3, 3:2, 16:9, 2:1, 3:1, 4:1
size_scaleenumno"small"small: max 1024px on long side. large: max 2048px. · Allowed: small, large
num_imagesnumberno1Number of images to generate. · Range: 1 – 5
cfg_scalenumberno7Classifier-free guidance. · Range: 1.1 – 10
seednumbernoReproducibility seed.
similarity_strengthnumberno0.7IMAGE_VARIATION only. 0.2 = creative, 1.0 = stay close to source. · Range: 0.2 – 1
inpaint_mask_promptstringnoINPAINTING only. Describe what to mask (e.g. ‘the sofa’).
mask_typeenumno"GARMENT"VIRTUAL_TRY_ON only. · Allowed: GARMENT, PROMPT, IMAGE
tryon_mask_promptstringnoVIRTUAL_TRY_ON only with mask_type=PROMPT.
garment_classenumno"UPPER_BODY"VIRTUAL_TRY_ON only with mask_type=GARMENT. · Allowed: UPPER_BODY, LOWER_BODY, FOOTWEAR, FULL_BODY
colorsstringnoCOLOR_GUIDED_GENERATION only. Comma-separated hex colors (e.g. ‘#C2D1E6,#636574’).
imagestringnoReference image URL or base64. Required for IMAGE_VARIATION/INPAINTING/OUTPAINTING/BACKGROUND_REMOVAL/VIRTUAL_TRY_ON.
response_formatenumno"url"Output shape. · Allowed: url, b64_json

Live machine-readable schema is also available at GET https://api.empiriolabs.ai/v1/models/amazon-nova-canvas.