grok-imagine-text-to-image API
Gebruik grok-imagine-text-to-image uit de Grok Imagine-familie via RunAPI. Prijs per aanroep, geen abonnement en mislukte generaties worden nooit in rekening gebracht.
curl -X POST https://runapi.ai/api/v1/grok_imagine/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-text-to-image",
"prompt": "Generate a short video of a robot hand placing a chess piece on a board, dramatic lighting, slow motion."
}'
import { GrokImagineClient } from "@runapi.ai/grok-imagine";
const client = new GrokImagineClient();
const result = await client.textToImage.run({
model: "grok-imagine-text-to-image",
prompt: "Generate a short video of a robot hand placing a chess piece on a board, dramatic lighting, slow motion.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\GrokImagine\GrokImagineClient;
$client = new GrokImagineClient();
$result = $client->textToImage->run([
'model' => 'grok-imagine-text-to-image',
'prompt' => 'Generate a short video of a robot hand placing a chess piece on a board, dramatic lighting, slow motion.',
]);
require "runapi/grok_imagine"
client = RunApi::GrokImagine::Client.new
result = client.text_to_image.run(
model: "grok-imagine-text-to-image",
prompt: "Generate a short video of a robot hand placing a chess piece on a board, dramatic lighting, slow motion."
)
npx skills add runapi-ai/grok-imagine -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
grok-imagine-text-to-image biedt de ideale balans tussen kwaliteit en kosten binnen de Grok Imagine-familie.
- Prijs per call in USD
- Mislukte generaties worden niet gefactureerd
- Streaming wanneer ondersteund door het model
- Modelskill-setup
Prijzen
Technische details
| Model-ID | grok-imagine-text-to-image |
| Provider | xAI |
| Modaliteit | image |
| Taaktype | asynchronous |
| Facturatie-eenheid | call |
| API endpoint | /api/v1/grok_imagine/text_to_image |
| Commerciële licentie | Ja — inbegrepen via API |
| Catalogusstatus | Operationeel |
Snelstart — grok-imagine-text-to-image
Zelfde structuur · variant vastgelegd in model
# Install the model skill for app development workflows
npx skills add runapi-ai/grok-imagine -g
Install the Grok Imagine skill for this app: 1. Add runapi-ai/grok-imagine with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
Gebruik grok-imagine-text-to-image in vier stappen
Installeren
Installeer de modelskill voor deze modelreeks.
Configureren
Zet het modelveld op de volledige model-ID die op deze pagina staat.
Aanroepen
Stuur een getypeerde request met je prompt, inputs en callback-instellingen.
Ontvangen
Lees de task-response, webhook-callback of cached output-URL van RunAPI.
Wat is er anders aan grok-imagine-text-to-image
Aurora model; 5 aspect ratios; realistic/artistic/anime styles
Prompt-guided style transfer and composition editing from one source image
Aurora model; 5 aspect ratios; realistic/artistic/anime styles
Input image becomes frame 1; animates with motion + camera
Aurora model; 5 aspect ratios; realistic/artistic/anime styles
6–15s video from text with synchronized native audio and lip-sync
Ideaal voor
Productfotografie
Genereer automatisch lifestyle-productfoto's voor e-commercecatalogi zonder studiofotografie.
Game- en concept art
Werk snel concepten uit voor omgevingen en personages voordat je doorgaat naar de definitieve art.
Illustraties voor editorial
Genereer unieke cover art en illustraties voor blogposts en artikelen op schaal.
Veelgestelde vragen over grok-imagine-text-to-image
Is de model-ID stabiel tussen versies?
RunAPI houdt de model-ID stabiel en verwerkt compatibele versie-updates zonder de opzet van je request te wijzigen.
Wat is de rate limit voor deze variant?
Rate limits per key schalen mee met je usage tier. Bekijk de prijzenpagina voor de actuele limieten.
Kan ik later van variant wisselen?
Ja — variant is een flag. Wissel door de modelparameter aan te passen.
Ondersteunt het streaming?
Waar streaming beschikbaar is, streamt RunAPI end-to-end.
Waar meld ik kwaliteitsproblemen?
Open een issue in de publieke GitHub-repo of mail support.