from openai import OpenAI client = OpenAI(base_url="https://api.naga.ac/v1", api_key="YOUR_API_KEY") resp = client.images.generate( model="krea-3", prompt="A white siamese cat", size="1024x1024", n=1, response_format="url", ) print(resp.data)
Krea 3 is a fast image editing model. It follows plain-language instructions: you say what should change and what should stay the same, and Krea 3 produces the edit in seconds. You can also use it for text-to-image generation.