Wiro - Seedream V4
AI-generatedOverview
This node integrates with the Seedream 4.0 API via Wiro to generate or edit high-resolution images based on user-provided prompts and optional input images. It supports specifying image resolution, the maximum number of output images, and whether to include a watermark. The node is useful for creative workflows requiring AI-generated images or image editing, such as content creation, marketing visuals, or design prototyping.
Use Case Examples
- Generate multiple high-resolution images from a text prompt for marketing campaigns.
- Edit or combine images by providing input image URLs and descriptive prompts.
- Create images with specific resolutions and watermark options for branding purposes.
Properties
| Name | Meaning |
|---|---|
| Input Image URL | Optional list of input image URL(s) and/or file(s) for creating, editing or combining images. |
| Prompt | Text prompt describing the image generation request, including how many images to generate. |
| Size | Output image resolution, selectable from predefined aspect ratios and dimensions. |
| Maximum Number Of Output Images | Limits the total number of output images. The sum of input reference images and generated images must be 15 or fewer. |
| Watermark | Determines whether the generated images include a watermark. |
Output
JSON
taskid- The unique identifier of the image generation task.url- The URL of the generated image(s) if the task completed successfully.status- The status of the image generation task, either 'completed' or 'failed'.
Dependencies
- Wiro API credentials (API key and secret) are required for authentication.
Troubleshooting
- If the API response does not include a valid task ID or socket access token, the node throws an error indicating an invalid response from the Wiro API. Verify API credentials and network connectivity.
- The node polls the task status until completion; if the task status returns error codes (-1, -2, -3, -4), the output status is set to 'failed'. Check the prompt and input images for correctness and API usage limits.
- Ensure the total number of input images plus generated images does not exceed 15 to avoid errors.