cURL
curl https://api.neuraldraft.io/v1/images/hero.background \
-H "Authorization: Bearer ndsk_live_yourkey"const img = await nd.images.get("hero.background");
img = requests.get(
"https://api.neuraldraft.io/v1/images/hero.background",
headers={"Authorization": f"Bearer {key}"},
).json()
<?php
$img = json_decode((string) $client->get('images/hero.background', [
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true);
{
"key": "hero.background",
"url": "https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/hero-background-89hf.jpg",
"width": 2048,
"height": 1152,
"bytes": 482911,
"mime_type": "image/jpeg",
"generated": true,
"created_at": "2026-04-19T10:21:02Z"
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}{
"type": "https://api.neuraldraft.io/errors/not_found",
"title": "Not found",
"status": 404,
"detail": "No such resource.",
"code": "not_found",
"instance": "req_2Nh4PqRsTuVw"
}Images
Resolve an image by key
Returns the resolved CDN URL for an image registered under key.
Useful for build-time fetches alongside /content/bulk. Read-only.
Does not consume credits.
GET
/
images
/
{key}
cURL
curl https://api.neuraldraft.io/v1/images/hero.background \
-H "Authorization: Bearer ndsk_live_yourkey"const img = await nd.images.get("hero.background");
img = requests.get(
"https://api.neuraldraft.io/v1/images/hero.background",
headers={"Authorization": f"Bearer {key}"},
).json()
<?php
$img = json_decode((string) $client->get('images/hero.background', [
'headers' => ['Authorization' => 'Bearer '.$key],
])->getBody(), true);
{
"key": "hero.background",
"url": "https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/hero-background-89hf.jpg",
"width": 2048,
"height": 1152,
"bytes": 482911,
"mime_type": "image/jpeg",
"generated": true,
"created_at": "2026-04-19T10:21:02Z"
}{
"type": "https://api.neuraldraft.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "API key missing or invalid.",
"code": "unauthorized",
"instance": "req_2Nh4PqRsTuVw"
}{
"type": "https://api.neuraldraft.io/errors/not_found",
"title": "Not found",
"status": 404,
"detail": "No such resource.",
"code": "not_found",
"instance": "req_2Nh4PqRsTuVw"
}Authorizations
Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage
keys via /projects/me/api-keys. Test-mode keys use
the ndsk_test_ prefix.
Path Parameters
Image key (any URL-safe identifier).
Example:
"hero.background"
Response
The image.
Example:
"hero.background"
Example:
"https://cdn.neuraldraft.io/prj_2NfQmBcKpXY8/hero-background-89hf.jpg"
Example:
2048
Example:
1152
Example:
482911
Example:
"image/jpeg"
True if produced by AI generation; false if uploaded.
Example:
true