海外版 图片生成 → 图生图
AI-generatedOverview
This node performs image-to-image generation using the 'jimeng' models. It takes input parameters such as prompt text, image URLs, model selection, aspect ratio, resolution, and sample strength to generate new images based on the provided images and prompts. It is useful for creative applications like generating variations of existing images or enhancing images with new styles or elements.
Use Case Examples
- Generating a new image of a 3D boy skateboarding in a park based on an existing image.
- Creating variations of an image by adjusting the sample strength and model type.
Properties
| Name | Meaning |
|---|---|
| 提示词 | The text prompt describing the desired image content, e.g., 'A 3D boy skateboarding in the park.' |
| 图片地址 | Comma-separated URLs of the reference images to base the generation on. |
| 模型 | The model version to use for image generation, options include jimeng-4.0, jimeng-3.0, and jimeng-2.0-pro. |
| 宽高比 | The aspect ratio of the generated image. |
| 分辨率 | The resolution of the generated image, either 1k or 2k. |
| 参考强度 | Sample strength controlling how much the original image influences the output, from 0 to 100. |
| 是否等待图片返回 | Boolean flag indicating whether to wait for the image generation to complete and return the image. |
| sessionid | Optional session ID to override the default credential session ID. |
Output
JSON
imageUrl- The URL of the generated image.status- The status of the image generation request.error- Error message if the image generation failed.
Dependencies
- An API key credential for authentication with the jimeng image generation service.
Troubleshooting
- Common issues include invalid or missing API credentials, which will cause authentication failures.
- Errors related to invalid input parameters such as malformed URLs or unsupported model names.
- Timeouts or failures if '是否等待图片返回' is set to true but the image generation service is slow or unresponsive.