For AI agents: the documentation index is at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
HTTP API
POST /api/v1/icons is the whole generate contract. GET /api/v1/models describes the served model.
The zone is https://blode.co/iconsmith. Every path below is under that prefix.
Draw
POST /api/v1/icons
Body: { model?, prompt?, concept?, images?, cut?, n?, stream? }, at least one of prompt, concept or images.
promptis free text (500 characters)conceptis an explicit slug; otherwise it derives from the promptimagesis up to four{ mime, base64 }PNG, JPEG or WebP entries (base64 only)cutdefaults to the house cut (24px, stroke 2, radius 3, outlined)nis 1 or 2- unknown fields are refused with
paramnaming them - any
modelother thaniconsmith-1ismodel_not_found stream: trueanswerstext/event-stream
Response: { id, object: "icon.draw", created, model, revision, concept, prompt, images, cut, data, usage, credits?, took_ms }. Image bytes are never echoed. usage is null when the provider has not reported token counts; it does not mean the draw was free.
Every response carries X-Request-ID. Errors are { status, code, message, request_id, param?, retry_after? }.
Models
GET /api/v1/modelsGET /api/v1/models/iconsmith-1
Keys
ism_live_…spends a credit when credits are on; otherwiseinvalid_api_keyism_test_…is the sandbox on any deployment: no provider call,credits: 0- browser draws require sign-in and monthly USD usage billing
Published with Edda