img_uuid, then retrieve the generated image by polling or callback.Krea 2 API for Text-to-Image Generation
Access Krea 2 through the independent GoEnhance API platform. Send a text prompt, choose an output ratio, receive an
Create an API Key
Build Krea 2 Image Generation into Your Product
Prompt-Driven Generation
Describe the subject, composition, lighting, and style in a prompt of 1–2,000 characters. The request uses model: krea-2.

Async Results for Production Workflows
Persist the returned img_uuid, poll the job-detail endpoint, or supply a public HTTPS callback URL for status updates.

Use the documented request fields without adding unsupported controls.
Krea 2 API Capabilities
Text-to-Image Requests
Generate one image from a required text prompt with <code>POST /api/v1/images/generations</code>.
Exact Model Selection
Set <code>model</code> to <code>krea-2</code>; this identifier is required by the endpoint.
Prompt Validation
Prompts must contain at least one character and can be up to 2,000 characters.
Flexible Aspect Ratios
Choose auto, 1:1, 16:9, 9:16, 4:3, 3:4, 2:3, or 3:2.
Polling Support
Use the returned <code>img_uuid</code> with the job-detail endpoint to check processing and terminal status.
Optional Callbacks
Provide a publicly accessible HTTPS callback URL to receive processing, success, and failure updates.
The current GoEnhance documentation lists a fixed per-image rate.
Krea 2 API Pricing
1 Token per Image
Each Krea 2 generation costs exactly 1 GoEnhance token.
$0.02 per Image
The documented USD equivalent is $0.02 for each generated image.
Handle Balance Errors
Check both HTTP and response fields; insufficient tokens can return <code>code: 100</code> with a balance message.
Integrate the Krea 2 API in Three Steps
1
1. Build the Request
Send JSON to
/api/v1/images/generations with model: krea-2, a prompt, and an optional ratio or callback URL. 2
2. Save the Task ID
On success, read
data.img_uuid and store it with your own request record for reliable tracking. 3
3. Resolve the Result
Poll
GET /api/v1/jobs/detail or verify callback payloads, then handle success and failure as explicit terminal outcomes.Ship image generation where a repeatable API workflow matters.
Krea 2 API Use Cases
Creative Applications
Add prompt-based image generation to design, ideation, and content-creation products.
Marketing Asset Pipelines
Generate campaign concepts in ratios suited to square, landscape, and portrait placements.
Product Visualization
Turn structured product briefs into visual directions for review and iteration.
Editorial Illustration
Create original scene concepts for articles, newsletters, and themed content.
Game and Story Previsualization
Explore environments, props, and mood boards from detailed narrative prompts.
Automated Content Systems
Connect generation jobs to queues, callbacks, storage, and moderation checks in your own stack.
Answers to common integration and pricing questions.
