The pack object
A pack is a collection of prompts. A pack also contains the configuration for fine-tuning such as using LoRA/FaceID/Checkpoint, base model and preset.
info
The headshot-starter open-source project now supports packs.
Advantages
- Test new prompts, ideas and themes on a bulk of models quickly to assure consistent high-quality results.
- Move fast from the creative process of creating prompts to the deployment of new themes in production.
- Avoid mismatch between hard-coded JSONs and the actual prompts.
- Decouple the creative process from your code and avoid mirroring inference API details in your codebase.
- Run user tests in production for new prompts and quickly iterate.
- Aggregate likes for prompts to improve the quality of the generated images and tighten the feedback loop.
- Sort packs by aggregated likes to present the best packs to the user.
Example user flow
GET /packs
Display a list of packs to the user. See docs- User selects a pack, a class name (man/woman) and training images
- Call
POST /p/:id/tunes
with title, (training) images, and class name - to create a new fine-tune model using a pack. See docs GET /tunes/:id/prompts
to get a list of prompts and their statusPOST /prompts/:id/likes
to send feedback to the API. See docs- Sort prompts by likes
- Present packs sorted by aggregated likes
Getting started
- Click your email in the header to access my packs, and create your first pack.
- Assign prompts to the pack from the prompts tab.
- Once a pack is assigned a new tag shows next to the prompt indicating that it is assigned to the pack.