Actions24
- Agent Actions
- Chat Actions
- File Actions
- Image Actions
- Model Actions
- Prompt Actions
- RAG Actions
- TTS Actions
- User Actions
- Video Actions
Image → Generate Image V1
AI-generatedOverview
This node operation generates images using the Straico API's image generation version 1 endpoint. It allows users to specify a model, provide a detailed textual description of the desired image, select the image size, and define the number of image variations to generate. Additionally, for certain models, users can provide image URLs as context or an image URL as a base for editing or background replacement.
Use Case Examples
- Generating a set of 3 square images based on a detailed description using a specific AI model.
- Creating variations of an image with a landscape orientation using the fal-ai/nano-banana-edit model with contextual image URLs.
- Replacing the background of an image using the fal-ai/ideogram/v3/replace-background model by providing a base image URL.
Properties
| Name | Meaning |
|---|---|
| Model | The AI model used for image generation. Users can choose from a list or specify an ID via expression. Required for the operation. |
| Description | A detailed textual description of the image to be generated. This guides the AI in creating the image. Required. |
| Size | The desired dimensions of the generated image. Options include Square, Square HD (only for specific models), Landscape, and Portrait. Required. |
| Variations | Number of images to generate, with a minimum of 1 and a maximum of 4. Required. |
| Image URLs | An array of image URLs used as context for image generation. Applicable only to fal-ai/nano-banana-edit and fal-ai/bytedance/seedream/v4/edit models. |
| Image URL | A single image URL used as context or base for editing or background replacement. Applicable to fal-ai/ideogram/v3/replace-background and fal-ai/flux-pro/kontext models. |
Output
JSON
json- The JSON response from the Straico API containing the generated image data and metadata.
Dependencies
- Straico API with an API key credential for authentication
Troubleshooting
- Ensure the selected model supports the provided parameters, especially when using image URLs or image URL fields which are model-specific.
- Verify that the description is detailed enough to guide the image generation effectively.
- Check that the number of variations is between 1 and 4 to avoid API errors.
- If the API returns an error, confirm that the API key credential is valid and has the necessary permissions.
Links
- Straico API Image Generation v1 Documentation - Official documentation for the Straico API image generation version 1 endpoint.