Generate and Host Image
Requirements
Description of the image to generate.
Optional: aspect ratio (1:1, 16:9, 9:16, 4:3).
Optional: custom filename for the hosted image.
3
Present the public URL to the user.
Note that GitHub Pages may take 1-2 minutes to serve new images on first upload.
To run this task you must have the following required information:
> Description of the image to generate.
Optional: aspect ratio (1:1, 16:9, 9:16, 4:3).
Optional: custom filename for the hosted image.
If you don't have all of this information, exit here and respond asking for any extra information you require, and instructions to run this task again with ALL required information.
---
You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).
Add all steps to your todo list now and begin executing.
## Steps
1. [Gather Requirements for Generate Image] The next step has the following requirements: "Text description of the image. Optional: aspect ratio (1:1, 16:9, 9:16, 4:3), style (photorealistic, illustration, painting), mood/lighting preferences.". Search the user's data for this information or ask them directly if needed. Do not proceed until you have this information.
2. [Execute Generate Image Task]: Spawn a subagent and provide it with the requirements gathered above and instructions to read `skills/sauna/[skill_id]/references/recipes/media.image.generate.md` for its task list
3. [Gather Requirements for Host Image] The next step has the following requirements: "Path to the image file to upload.
Optional: custom filename for the hosted image (will be sanitized).
". Search the user's data for this information or ask them directly if needed. Do not proceed until you have this information.
4. [Execute Host Image Task]: Spawn a subagent and provide it with the requirements gathered above and instructions to read `skills/sauna/[skill_id]/references/recipes/media.image.host.md` for its task list
5. Present the public URL to the user.
Note that GitHub Pages may take 1-2 minutes to serve new images on first upload.