Skip to content

Create a post with text and an illustration in one Kotia workflow

Build one Kotia workflow that writes a post, generates an illustration from its text, and saves both to a document. Covers settings and an example.

Updated

Create text and an illustration for your column in one workflow. The "Image" card can take the content of a post, use the assistant to prepare an image description, and pass the result to the next writing step. This step combines the illustration with the text, and the finished material is saved to a document.

You can keep permanent requirements for the visual style and post format in the tasks. For the next issue, change the topic or the source text. Each run creates a new image, so check the result before you use it.

A post with an image workflow on the canvasA post with an image workflow on the canvas1234
  1. 1The post text
  2. 2Draws from the text
  3. 3Brings text and image together
  4. 4Inserts the image

Example: illustrations for a column about a home office

Suppose you publish tips on organizing your desk. One issue is about where to place light, and another is about storing small items. You can set the general look of the images in advance: a bright room, calm colors, a scene focused on objects, no text or logos.

It is important that the workflow takes the topic of each issue into account. The text about light should produce a description of a scene with a lamp and a work surface, not the same picture no matter what the input is.

How to connect a post, an image, and the final document

  1. Prepare the source post in "Data" or use the result of "Social media post". For the first test, choose one short piece of material.

  2. Connect the "Image" card to the source of the text. Leave the "What to draw" field empty if the description should be built from the incoming material: a filled field takes priority over the connection.

  3. Turn on "Let the helper write the description". It reads the incoming material and prepares the image description. Choose "How many pictures": for one illustration, 1 is enough. Then choose the "Caption language" you need.

    Image card settingsImage card settings1234
    1. 1Leave empty to draw from the text
    2. 2One is enough for a post
    3. 3Builds the scene from the post
    4. 4Language of the caption

  4. If you need permanent visual style rules, add a "New step" before the "Image" card and instruct it to write the scene description, taking the topic and these rules into account. Pass the description along the connection. In this setup, you can turn off the assistant inside the "Image" card, because the description is already prepared.

  5. Pass the source post text and the result of the "Image" card to the final "New step". Ask it to save the text and insert the resulting illustration in the right place. To conveniently merge branches, you can use "Collect results".

    New step settings that insert the imageNew step settings that insert the image1
    1. 1Keep the text and insert the image

  6. Connect the final step to the "Document" or "Folder" and run the chain.

    Document card settings for the postDocument card settings for the post1
    1. 1Where the post is saved

  7. Open the saved material and check that the text was saved, the image is inserted, and it matches the topic. If you use a caption, check it separately.

    The post with the inserted image after the runThe post with the inserted image after the run1
    1. 1The image after the first paragraph

A step that prepares the description and the built-in assistant are two options. Choose one depending on your task so you don't add extra processing. To pass your own description without any preliminary rewriting, fill in the "What to draw" field and turn off the assistant.

Which settings affect the result

Setting What to consider
What to draw A filled-in field replaces the incoming description. A permanent phrase here can detach the image from the new post
How many pictures From 1 to 4 per step; the default is one. The number affects your usage
Let the helper write the description Adds description preparation from the material and a separate cost for running the model
Caption language Sets the language of the assistant's caption; not used when the assistant is turned off

The image is saved to your files. To pass it on to a publication, connect a writing step that can include the image in the text. The chain "Image" → "Article" does not carry the image into the result of the Article service: for assembly, use a regular agent card, as described in the instructions above.

Reusing the workflow and sending

Keep the visual rules and post requirements, and replace the topic. Generation runs from scratch each time: an identical description does not mean the old file is reused or that the composition matches exactly.

To redo only the illustration, you can start from the matching stage, first making sure the source text is already saved. Keep in mind that you are charged again for the image and the assembly that follows.

If you then send the material to Telegram, check the caption in the preview: a message with an image allows less text than a text-only post. First save and review the result. Sending with approval is added separately.