This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported.
Generate an image with AI models.
Generate images with a prompt using OpenAI's DALL-E 3 or Google Vertex AI.
type: "io.kestra.plugin.langchain4j.imagegeneration"
Generate an image using OpenAI (DALL-E 3).
id: image_generation
namespace: company.team
task:
id: image_generation
type: io.kestra.core.plugin.langchain4j.ImageGeneration
prompt: "A futuristic cityscape at sunset"
provider:
type: io.kestra.plugin.langchain4j.provider.OpenAI
apiKey: "{{secret('OPENAI_API_KEY')}}"
modelName: dall-e-3
size: LARGE
download: false
Image prompt
The input prompt for the image generation model
Language Model Provider
STOP
LENGTH
TOOL_EXECUTION
CONTENT_FILTER
OTHER
Finish reason
Generated image URL
The URL of the generated image
Token usage
Endpoint URL
Project location
Model name
Project ID
API endpoint
The Azure OpenAI endpoint in the format: https://{resource}.openai.azure.com/
Model name
API Key
Client ID
Client secret
API version
Tenant ID
API Key
Model name
https://api.deepseek.com/v1
API base URL
API Key
Model name
AWS Access Key ID
Model name
AWS Secret Access Key
COHERE
COHERE
TITAN
Amazon Bedrock Embedding Model Type
API Key
Model name
API base URL
API Key
Model name
API Key
Model name
API base URL
Model endpoint
Model name