Generate Image with NVIDIA NIM > Using the Generate Image with NVIDIA NIM recipe > Step 4. Configure and publish the processes
  

Step 4. Configure and publish the processes

Configure the image settings and authorization access, and then publish the processes.
    1Open the Create Image process.
    2Optionally, on the Assignments tab of the Prepare Request PO step, update the image settings in the Request field using the Expression Editor, as shown in the following sample code:
    <root xmlns:m="urn:informatica:ae:xquery:json2xml:meta-data">
    <height m:type="xs:int">1024</height>
    <width m:type="xs:int">1024</width>
    <text_prompts m:isArray="true">
    <text>{$input.User_Input}</text>
    <weight m:type="xs:double">1</weight>
    </text_prompts>
    <cfg_scale m:type="xs:double">5</cfg_scale>
    <clip_guidance_preset>NONE</clip_guidance_preset>
    <sampler>K_EULER_ANCESTRAL</sampler>
    <samples m:type="xs:int">1</samples>
    <seed m:type="xs:int">0</seed>
    <steps m:type="xs:int">25</steps>
    <style_preset>none</style_preset>
    </root>
    3Optionally, on the Assignments tab of the Set Answer step, update the image name and format in the response field. By default, the process receives a response from NVIDIA NIM action in base64 format and creates an attachment named picture.jpeg with the format image/jpeg. You can use this default format or change it to any format supported by Application Integration.
    4Save and publish the process.
    5Open the Generate Image from Text with NVIDIA NIM process.
    6On the Start tab of the Start step, enter the user in the Allowed Users field or select Allow anonymous access.
    7Save and publish the process.
    8On the Actions menu, click Properties Detail and copy the service URL.
    You will need the service URL to configure the webhook in Slack. For more information, see Step 5. Create webhooks in Slack.