Gallery & Sharing
Every completed job is stored in your gallery. The web UI provides filtering, search, and sharing tools.
List Gallery Items
GET /api/v1/gallery?limit=20&offset=0
Authorization: Bearer ccn_sk_...
Returned items include:
output_urlandthumbnail_urlsmart_titleandsmart_tags- Prompt fields (original + enhanced)
- Optional
share_url
Public Share Links
Gallery items can be made public. When public, anyone can access the share URL without authentication.
GET /api/v1/share/<job_id>
Favorites
The gallery supports favorites, stored in the job_favorites table.
POST /api/v1/job-favorites/toggle
Authorization: Bearer ccn_sk_...
Content-Type: application/json
{ "job_id": "<job_id>" }