Two replacement modes:
multipart/form-data with a file part. Replaces
the image at key with the uploaded bytes. Costs 0 credits.application/json with { prompt, style? }.
Returns a Job and replaces the image when complete.
Costs 40 credits.Documentation Index
Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt
Use this file to discover all available pages before exploring further.
Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage
keys via /projects/me/api-keys. Test-mode keys use
the ndsk_test_ prefix.
Image key (any URL-safe identifier).
"hero.background"
Image file (JPEG, PNG, WebP). Max 10MB.
Image replaced (upload mode).
"hero.background"
"https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/hero-background-89hf.jpg"
2048
1152
482911
"image/jpeg"
True if produced by AI generation; false if uploaded.
true