Skip to content
Back to skills

Durindoor Image

BSecurity

Generate images through DurinDoor with a model discovered from /v1/models/image.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 19, 2026
ai-agentsbashgitapi

Works with

  • api

Security analysis

B88/100
  • criticalSends environment variables or credentials to an external URL

Pro shows the line behind each finding and how to fix it

Scanned September 25, 2026

npx -y skills add bloodf/durindoor --skill durindoor-image --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Durindoor Image?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Durindoor Image
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/bloodf-durindoor-image/badge)](https://www.skillsdirectory.com/skills/bloodf-durindoor-image)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: durindoor-image
description: Generate images through DurinDoor with a model discovered from /v1/models/image.
---

# DurinDoor Image Generation

## Discover

```bash
curl -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/image" | jq -r '.data[].id'
MODEL_ID="$(curl -s -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/image" | jq -r '.data[0].id')"
curl -H "Authorization: Bearer $DURINDOOR_KEY" "$DURINDOOR_URL/v1/models/info?id=$MODEL_ID"
```

## Generate

```bash
curl -X POST "$DURINDOOR_URL/v1/images/generations?response_format=binary" \
  -H "Authorization: Bearer $DURINDOOR_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"$MODEL_ID\",\"prompt\":\"watercolor mountains at sunrise\"}" \
  --output out.png
```

Required fields are `model` and `prompt`. Optional fields such as `n`, `size`, `quality`, `style`, images, or output format depend on the selected model. Inspect `/v1/models/info?id=...` before sending provider-specific fields.

JSON responses use OpenAI-compatible `data[].url` or `data[].b64_json`. The binary response mode returns image bytes.

## Use the default route

Leave out `model` and DurinDoor uses the image generation route from **Dashboard → Media Routes**, trying the fallbacks in order.

```bash
curl -X POST "$DURINDOOR_URL/v1/images/generations" \
  -H "Authorization: Bearer $DURINDOOR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"watercolor mountains at sunrise"}'
```

If no connected provider serves this endpoint, the response is HTTP 400 with `error.code` set to `no_provider_for_kind`. Connect a provider, or pass `model`.

Reference: https://github.com/bloodf/durindoor/blob/main/docs/reference/api.mdx

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.