Skip to content

Gallery & Sharing

Every completed job is stored in your gallery. The web UI provides filtering, search, and sharing tools.

GET /api/v1/gallery?limit=20&offset=0
Authorization: Bearer ccn_sk_...

Returned items include:

  • output_url and thumbnail_url
  • smart_title and smart_tags
  • Prompt fields (original + enhanced)
  • Optional share_url

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>" }