Import an image into a project timeline
Imports a single local image directly into a project's timeline as a generation — no prompt, no AI, no effect. The image is stored under your storage prefix and appears in the project's timeline immediately, just like a generated image. Counts against your storage quota.
Use this when you want to bring an external photo into a project so it can be used as a source for cutouts, restyles, or other operations that operate on existing generations.
Request
Multipart only. The file and project_id fields are required; name is optional (auto-derived from the filename if omitted).
Response
Returns the full generation object (same shape as GET /v1/generations) with a signed image_url.
Request
- Base URL: https://nanostudiopro.com/api
- URL: https://nanostudiopro.com/api/v1/generations/upload
- Auth: HTTP bearer
Response
Image imported and available as a generation. When other versions of the same picture are already in your library (a larger original, a smaller export, a re-save), the answer adds versions: see GET /v1/media/{type}/{id}/versions. Nothing is refused over it.
Example response
{
"name": "Linen suit hero"
}Changes
No recorded changes to this operation across all 2 revisions of this API.