astriaai / headshots-starter

https://headshots-starter.vercel.app
MIT License
3.75k stars 627 forks source link

GitBounty: Switch to Astria's packs api #116

Open burgalon opened 1 month ago

burgalon commented 1 month ago

Astria's packs API allows abstraction of the prompt logic and can easily allow offering separate themes and deploying changes with deploying code.

See docs: https://docs.astria.ai/docs/api/pack/pack/ The requested changes will apply the suggested user flow, with one change - to query both user's pack /packs as well as /gallery/packs (publicly available packs) according to an environment variable.

The GUI should implemented the workflow as described in the docs:

  1. GET /packs Display a list of packs to the user. See docs
  2. User selects a pack, a class name (man/woman) and training images
  3. Call POST /p/:id/tunes with title, (training) images, and class name - to create a new fine-tune model using a pack. See docs
  4. GET /tunes/:id/prompts to get a list of prompts and their status
  5. POST /prompts/:id/likes to send feedback to the API. See docs
  6. Sort prompts by likes
  7. Present packs sorted by aggregated likes

https://gitpay.me/#/task/891

ymohit1603 commented 1 month ago

Hey burgalon i want to work on this issue . Can you assign it to me?

Precious-Macaulay commented 3 weeks ago

Hey @burgalon i sent you a proposal on gitpay you can check it and assign it to me . Also I will need some clarification on some part of the issue to ensure i truly understand what is required.

Dheeraj4103 commented 2 weeks ago

Hey @burgalon Can I work on this issue ?