Documentation
API notes for image and video tasks, uploads, and generation history. These endpoints require the authentication used by each feature; a website session is not a public API key.
Generate
POST /api/ai/nanophoto/generateCreate image/video tasks with model, prompt, mediaType, and options.
Poll Task
GET /api/ai/nanophoto/tasks/:idCheck generation progress and retrieve completed output URLs.
Gallery
GET /api/ai/nanophoto/tasks?limit=12&page=1List the signed-in user generation history.
Upload
POST /api/storage/upload-imageUpload reference images for image/video workflows.
Media Upload
POST /api/storage/upload-mediaUpload image, video, or audio references for Seedance multimodal workflows.
Pricing
GET /api/ai/nanophoto/configRead public model credit costs without exposing provider secrets.
Webhook
POST /api/ai/nanophoto/callbackProvider callback endpoint for task status updates; not a user-facing generation endpoint.
Checkout Result
/checkout-result?status=successPost-payment user experience for credits, gallery, and creation recovery flows.