Text to image
Create original campaign, editorial, or concept images from a written brief.
MODEL API
xAI image generation for expressive, high-impact visuals across seven common aspect ratios and larger batches.
API usage is billed separately from Studio credits.
LIVE REQUEST BUILDER
Configure a request, inspect the exact JSON, then run it with your account.
API PRICING
Compare the complete API billing table for this route. Token models separate input, output, cache-read, cache-write, and long-context rates; media models vary by configuration.
The accepted task response is the source of truth for its final pricing snapshot.
CAPABILITIES
Use one stable PixMind model ID while keeping provider-specific setup out of your application.
Create original campaign, editorial, or concept images from a written brief.
TECHNICAL SPECS
Resolution, aspect ratios, and inputs the Grok Imagine 2.0 Eco API route accepts.
MODEL WORKFLOWS
Choose a task that matches the live route capabilities, then adapt one of these prompt starters.
Create a premium product hero image for [product], [camera angle], [lighting], [background], [brand palette], clean commercial composition.
MODEL SELECTION
Compare nearby live routes by task, supported capability, and current entry price before you lock a model ID into production.
| Model | Best for | Key capabilities | Entry price | Availability | Action |
|---|---|---|---|---|---|
Grok Imagine 2.0 Eco xAI · current page | Create original campaign, editorial, or concept images from a written brief. | Text to image | $0.090 / image | Available | Selected |
FLUX.1 Kontext Pro Black Forest Labs | Create original campaign, editorial, or concept images from a written brief. | Text to image · Image editing · Multi-reference | Pricing coming soon | Available | View route |
GPT Image 1.5 OpenAI | Create original campaign, editorial, or concept images from a written brief. | Text to image · Image editing · Multi-reference | Pricing coming soon | Planned | View route |
GPT Image 2 OpenAI | Create original campaign, editorial, or concept images from a written brief. | Text to image · Image editing · Multi-reference | $0.050 / image | Available | View route |
Capabilities and starting prices are a current PixMind route snapshot. The accepted request contains the final configuration and billing quote.
GET STARTED
Create an API key for the image or video permission this route needs.
Use the model ID and endpoint shown above from your backend service.
Store the returned task ID and query its status until it reaches a terminal state.
FAQ
Use grok-imagine-2-eco in the model field. This is the stable PixMind route identifier shown in the playground request JSON.
Send POST requests to /v1/generations. Keep your API key on your server and pass it as a Bearer token.
Yes. When you click Run model, PixMind forwards the displayed payload with the API key you entered. A successful request may create a paid task.
No. The playground keeps the key only in component memory and sends it for the current request; it is not written to browser storage.
No. API usage resolves through the apiPlatform pricing role and a separate pay-as-you-go ledger. Studio pricing includes the creation interface and product workflow services.
The entry price reflects the configuration displayed on this page. Resolution, duration, quality, audio, references, and output count can affect the final task price.
Generation routes can return an asynchronous task. Save its ID and query the task endpoint until the status is succeeded, failed, or cancelled.
Yes. Models in the same workload family share the generation contract, so switching usually means changing the model ID and supported parameters.
RELATED MODELS
Context-aware image editing that preserves subjects and style across targeted changes.
View APIGPT Image 1.5 high-control generation and editing for design-heavy visuals.
View APIHigh-control image generation and editing for posters, products, infographics, and iterative design work.
View APISTART WITH THE CONTROL PLANE
Test the exact payload in the playground, then create a scoped key and move the same model ID into your application.