Skip to content

๐Ÿ—๏ธ Buidling My First App

๐Ÿ“ Step 2: Create the Storytelling Logic

Add an Assistant Node:

  • Click the Assistant node to add it to the workflow. Imagine Kit landing page images
  • Set its instruction to:

    โ€œYou are a storyteller. Tell intriguing African tales accompanied by images.โ€

  • (Optional) Upload a knowledge base to provide more context.

Define Inputs and Outputs:

  • Click Add Input on the Assistant node and name it Run.

  • Connect the Trigger Button to the Assistant nodeโ€™s Run input.

  • Add outputs:

    • Click Add Output on the Assistant node and name it Story.
    • Story: Main text of the generated story.
    • Add another Output on the Assistant node and name it Story Image Prompt.
    • Story Image Prompt: Text prompt to generate an image matching the storyโ€™s theme.

Imagine Kit landing page images