Your library
Your library keeps the pictures, videos, songs and voice-overs you make, so you can find them again, download them, sort them into projects and use them in new requests. Open it at Library in the dashboard.
Turn it on
The library is off until you turn on Keep my files in my library on the Library screen. From then on, every finished file is kept for 365 days after it is made (the screen shows the current number), then deleted.
When you turn it on, files you made in the last 90 days with a key that saves are added too, so it is not empty on day one.
Turn it off at any time: new files stop being kept, and the files already in your library stay until you delete them or their date comes.
What is kept, and what never is
Only files made with an API key that has Save my requests and answers for 90 days on are kept. New keys have it off, so turn it on for the key you make pictures and videos with (API keys → the key → edit).
A file made with a key that does not save is never copied or kept, whether the library is on or not. This is checked when the job is made and again when the file would be added: a key switched to not saving before its file is copied keeps nothing either. See Privacy.
Text answers and transcripts are not files and are not kept here.
Projects
Make a project with New project, then choose files (the box in each corner) and Move to project. Rename or delete a project from the Library screen when it is picked in the filter. Deleting a project never deletes its files: they stay in your library, in no project.
Filter by kind (pictures, videos, sound), by model, by project and by date.
Download and delete
Open a file to see it full size, what you asked for, the model and the date it will be deleted, and to Download it.
Delete removes the file from our storage, not only from the list: no link serves it from that moment, and the stored copy is erased within minutes. You can delete one file, the files you chose, or everything (Library settings → Delete everything). A deleted file can't be brought back.
Use a file in a new request
Each file has an id like file_3f9c… (open the file → For developers). Send it
anywhere a source picture goes, exactly like an upload from /v1/files:
{ "model": "bytedance/seedance-2-0-fast-image-to-video", "image": "file_3f9c…", "prompt": "slow push in" }
List your library from code
The same key you make files with can list them. Every file has a url that
anyone can download until url_expires_at (one hour); ask again for a fresh one.
curl "https://api.martllm.com/v1/library?kind=video&limit=20" \
-H "Authorization: Bearer $MARTLLM_API_KEY"
{
"object": "list",
"library_on": true,
"keep_days": 365,
"has_more": true,
"next_cursor": "MTc2NDE0…",
"data": [
{
"id": "file_3f9c…", "object": "library.file", "kind": "video",
"model": "bytedance/seedance-2-0-fast-image-to-video", "prompt": "slow push in",
"content_type": "video/mp4", "bytes": 4823113, "project_id": null,
"created_at": 1764140000, "expires_at": 1795676000,
"url": "https://…", "url_expires_at": 1764143600
}
]
}
| Query | What it does |
|---|---|
kind |
image, video or audio |
model |
Only files made with this model id |
project |
A project id, or none for files in no project |
from, to |
Dates like 2026-11-26; to includes that whole day |
limit |
1 to 200, 60 when left out |
cursor |
The next_cursor of the previous page |
GET /v1/library/{id}returns one file with a freshurl.GET /v1/library/projectslists your projects (id,name,files).- Over MCP, the
list_librarytool takes the same filters. See MCP.
library_on: false with an empty list means the library is off: turn it on in the
dashboard. Listing is free.