Images

Open Images →

Calling it

This is your own data, so a call has to say who you are. Make a token at /token and send it as a header.

curl -H "Authorization: Bearer $MU_TOKEN" \
  https://micro.mu/api/v1/images/daily

The same method over MCP, which is what an agent speaks: images_daily. The answer is identical.

How every call behaves →

Methods

GET /api/v1/images/daily

Retrieve the current daily image or a date

Needs an account.

ArgumentTypeDescription
datestringYYYY-MM-DD; omitted for the current daily image
curl \
  -H "Authorization: Bearer $MU_TOKEN" \
  "https://micro.mu/api/v1/images/daily"
POST /api/v1/images/delete

Delete an image you own

Needs an account. Changes something, so POST only. Withheld from the agent — a person or a program only.

ArgumentTypeDescription
id *string
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"id"}' \
  https://micro.mu/api/v1/images/delete
19 creditsPOST /api/v1/images/generate

Generate an image from a text prompt and return its URL

Needs an account. Changes something, so POST only. Draws 19 credits per call, or accepts payment.

ArgumentTypeDescription
prompt *stringWhat the image should depict
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"prompt"}' \
  https://micro.mu/api/v1/images/generate
Costs 19 credits
GET /api/v1/images/get

Retrieve accessible image metadata and URL

Needs an account.

ArgumentTypeDescription
id *string
curl \
  -H "Authorization: Bearer $MU_TOKEN" \
  "https://micro.mu/api/v1/images/get?id=id"
GET /api/v1/images/list

List stored images or the daily archive with pagination

Needs an account.

ArgumentTypeDescription
scopestringmine, public, all (own plus public), or daily; defaults to public
limitnumberPage size, default 20, maximum 100
cursorstringNext cursor from the previous page; keep query and scope unchanged
curl \
  -H "Authorization: Bearer $MU_TOKEN" \
  "https://micro.mu/api/v1/images/list"
POST /api/v1/images/share

Explicitly publish or unpublish your image

Needs an account. Changes something, so POST only. Withheld from the agent — a person or a program only.

ArgumentTypeDescription
id *string
publicbooleanExplicitly publish or unpublish this image
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"id"}' \
  https://micro.mu/api/v1/images/share
POST /api/v1/images/update

Edit metadata on an image you own

Needs an account. Changes something, so POST only.

ArgumentTypeDescription
id *string
titlestring
descriptionstring
tagsarray
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"id"}' \
  https://micro.mu/api/v1/images/update
POST /api/v1/images/upload

Upload a private raster image

Needs an account. Changes something, so POST only.

ArgumentTypeDescription
data *stringBase64 PNG, JPEG or GIF; at most 512 KB decoded and 8 megapixels; browser uploads support 8 MB
descriptionstringImage caption, at most 1000 characters
curl -X POST \
  -H "Authorization: Bearer $MU_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"data":"data"}' \
  https://micro.mu/api/v1/images/upload

The same methods are tools over MCP, and every service on this instance is in one reference.