For agents and developers
Every background can be found and linked by a program. No account, no key. The pictures are free for commercial use and may be hotlinked.
A picture in one URL
Words in the address, a picture back. The answer is the image itself, not a redirect.
| Words | /bg/night-classroom.jpgSearched, with / and - between words. Unknown words still give a picture: the closest match. |
|---|---|
| A place | /bg/shrine.jpgThe cover of that place, in daylight. |
| Times | /bg/classroom/sunset.jpgday, sunset or night, anywhere among the words. |
| A scene | /bg/bg-014/sunset.jpgThat scene at that time. |
| Random | /bg/random.jpgA different picture every time. |
| Width | ?w=640640, 1280 or 1920 pixels wide. 640 and 1280 are WebP, 1920 is JPG and the default. |
| Seed | ?seed=2Another match for the same words. Any value; the same value gives the same picture. |
<img src="https://anibg.com/bg/classroom/night.jpg" width="1920" height="1080" alt="Anime classroom at night"> For a link that must never change, use the permanent file named in the content-location header.
Search
JSON over GET, open to any origin. Answers can be cached for five minutes.
| GET | /api/v1/search?q=Scenes matching words, place, time, tag, use or style. |
|---|---|
| GET | /api/v1/scenes/<id>One scene with every time it comes in. |
| GET | /api/v1/placesThe places with their cover and number of scenes; the times, tags, uses and styles. |
| GET | /api/v1/randomOne scene picked at random. Takes the filters of search. |
| GET | /api/v1/licenseThe license as data. |
| GET | /api/v1/openapi.jsonOpenAPI 3.1 description of all of the above. |
Search takes q, place, time, tag, use, style, limit (1 to 50, default 10), offset and lang. A time or a place named in q filters the results, in English, Japanese or Chinese. With lang=ja or lang=zh, titles, summaries and place names come in that language and page links the translated page.
https://anibg.com/api/v1/search?q=night+classroom {
"query": {
"q": "night classroom",
"place": "classroom",
"time": "night"
},
"total": 9,
"offset": 0,
"limit": 10,
"results": [
{
"id": "bg-001",
"title": "Window-side classroom",
"place": "classroom",
"times": ["day", "sunset", "night"],
"page": "https://anibg.com/backgrounds/classroom/window-side-classroom/",
"markdown": "https://anibg.com/backgrounds/classroom/window-side-classroom.md",
"scene": "https://anibg.com/api/v1/scenes/bg-001",
"image": {
"time": "night",
"url": "https://anibg.com/i/s/bg-001/night-1920.jpg",
"width": 1920,
"height": 1080,
"format": "jpg",
"alt": "Dark anime classroom at night, moonlit desks under tall windows with stars and lit apartment windows outside"
},
"images": [
{
"time": "day",
"url": "https://anibg.com/i/s/bg-001/day-1920.jpg"
},
{
"time": "sunset",
"url": "https://anibg.com/i/s/bg-001/sunset-1920.jpg"
},
{
"time": "night",
"url": "https://anibg.com/i/s/bg-001/night-1920.jpg"
}
]
}
],
"license": {
"name": "AniBG License",
"url": "https://anibg.com/license/",
"commercial_use": true,
"attribution_required": false
}
} A result carries the picture that answers in full under image and every time of the scene as a link under images. scene is the full record: all pictures with their descriptions and colours. Every field is described in openapi.json.
MCP server
https://anibg.com/mcp — Streamable HTTP, no authentication, no session. Protocol versions 2026-07-28, 2025-11-25, 2025-06-18 and 2025-03-26.
| Tool | search_backgroundsSearch the library: q, place, time, tag, use, style, limit (1 to 20, default 5), offset, lang. Each result has the picture that answers, with its links. |
|---|---|
| Tool | get_sceneOne scene by its code (id), with every time and its links. lang for Japanese or Chinese titles and pages. |
| Tool | list_placesThe places, times, tags, uses and styles there are. Optional lang. |
| Tool | download_imageThe picture itself as image content (id, time, size 640, 1280 or 1920), 1280 WebP unless asked otherwise, with its links. |
| Tool | studio_linkA Studio link to give a person who wants a picture the library doesn’t have: prompt, or scene with want (rain, snow, phone, 4k); time, aspect. |
claude mcp add --transport http anibg https://anibg.com/mcp {
"mcpServers": {
"anibg": {
"type": "http",
"url": "https://anibg.com/mcp"
}
}
} {
"mcpServers": {
"anibg": {
"url": "https://anibg.com/mcp"
}
}
} In chat apps that accept remote MCP servers, add a custom connector with the URL https://anibg.com/mcp.
Listed as com.anibg/backgrounds in the official MCP Registry and as a connector on Glama.
Markdown and llms.txt
Every page has a Markdown version at the same address ending in .md: /backgrounds/classroom.md for /backgrounds/classroom/, and /index.md for the home page. Japanese and Chinese pages have theirs in their language: /ja/backgrounds/classroom.md, /zh/index.md. A request with Accept: text/markdown gets it at the page’s own address.
curl -H "Accept: text/markdown" https://anibg.com/backgrounds/classroom/ /llms.txt says how to use the site and links every place. /llms-full.txt is the whole catalogue in one file, with direct links.
License, for programs
The license as the API gives it, at /api/v1/license and in every answer:
{
"license": {
"name": "AniBG License",
"url": "https://anibg.com/license/",
"commercial_use": true,
"attribution_required": false,
"modification": true,
"redistribution_as_is": false,
"ai_training_dataset": false,
"ai_generated": true,
"summary": "Free for personal and commercial projects, including games you sell and monetised streams. No attribution needed. Don't sell or give away the images on their own or as a pack, don't build a competing image library from them, and don't use them as a dataset to train image models. Every image is AI-generated."
}
} Every image response carries it in a header too:
link: <https://anibg.com/license/>; rel="license" Limits
300 requests a minute per address on the API and the MCP server, 600 on /bg/. Past that the answer is 429, with a retry-after header giving the seconds to wait. Hotlinking is allowed.
New pictures
Agents can’t make new pictures. Each one costs money to generate, and the free previews are for people. Studio is where a person makes one, and a program can hand them a link with the request filled in.
From words
https://anibg.com/studio/?prompt=a+quiet+train+platform+in+the+countryside&time=sunset&aspect=16:9 Opens Studio with the words, the time and the shape set. Nothing is made until the person asks for it.
From a library scene
https://anibg.com/studio/?scene=bg-001&time=night&want=rain want is rain, snow, phone or 4k.
Questions
Do I need an API key?
No. The API, the MCP server and the image links work without an account or a key.
Can I hotlink the images?
Yes. Put the links in your pages and apps as they are. A file under /i/ never changes what it shows.
Can an AI agent use these in what it builds for a user?
Yes. The license covers personal and commercial projects without credit, whoever puts the picture in. What it doesn’t allow is selling or giving away the images on their own.
Is there an API for generating new backgrounds?
No. Each new picture costs money to make, so generating is only in Studio, for people. An agent can give its user a Studio link with the request filled in.