generateImage
Generate an image based on the user's prompt. The response will contain a base64 encoded image data.
Example:
mutation GenerateImage {
generateImage(
input: {prompt: "A serene landscape with a lake and mountains in the background."}
) {
response {
base64Data
}
}
}
generateImage(
input: AIImageGenerationInput!
): AIGenerateImageJob!