grok-imagine-1.5-ext API
Generate images from text or edit reference images with Grok Imagine on APISea.
grok-imagine-1.5-edit-apiseagrok-imagine-1.5-ext API fiyatlandırması
Tüm fiyatlar USD cinsindendir. APISea ücretleri, aynı birim için resmî liste fiyatıyla karşılaştırılmıştır.
| Seçenek | APISea | Resmi | Tasarruf edin |
|---|---|---|---|
| VarsayılanVarsayılan | $0.0165 | $0.022 | −25% |
Fiyatlar görsel başına şeklindedir.
grok-imagine-1.5-ext nedir?
grok-imagine-1.5-ext is an xAI Grok Imagine image model available on APISea under the model ID grok-imagine-1.5-edit-apisea, also callable as grok-imagine-1.5-edit-ext. It is suited to applications that generate images from text or edit existing images using a written instruction and reference URLs. The image-generation documentation describes multilingual prompts, reference-based editing, aspect-ratio controls, and multiple outputs per request.
Submit requests to POST /v1/images/generations through APISea’s OpenAI-compatible base URL, https://api.apisea.ai/v1, using Bearer Token authentication. Processing is asynchronous: the initial response returns a task ID for subsequent status queries rather than a finished image. APISea Default pricing is $0.0165 per image, compared with the provider list price of $0.022 per image—about 25% below list price. Usage is pay-as-you-go, with billing only for successful requests.
grok-imagine-1.5-ext öne çıkan özellikleri
Generation and editing
Create images from text prompts or include reference image URLs for image editing.
Reference image inputs
The generation and editing documentation supports 1–5 reference images supplied through image_urls.
Shape and count controls
Choose from five documented size formats, including square, landscape, and portrait. Set n to request 1–10 images.
Optional content moderation
Set nsfw_check to true to review prompts and input images with omni-moderation-latest before submitting the image task.
grok-imagine-1.5-ext API'sini 4 adımda çağırma
- 01
API key alın
APISea'de oturum açın, $50 tutarından başlayarak bakiye yükleyin ve konsolda bir sk-sea key oluşturun.
- 02
Base URL'yi ayarlayın
SDK'nizde veya HTTP istemcinizde base URL olarak https://api.apisea.ai/v1 kullanın.
- 03
İsteği gönderin
"model": "grok-imagine-1.5-edit-apisea" ve aşağıdaki parametrelerle POST /v1/images/generations adresini çağırın.
- 04
Yanıtı işleyin
Yanıtta bir task_id bulunur. Durum completed olana kadar GET /v1/tasks/{task_id} adresini sorgulayın, ardından sonuç URL'lerini indirin.
İstek örnekleri
Belgeler: Grok Imagine Image Generation# model can be "grok-imagine-1.5-edit-apisea", or the compatible alias "grok-imagine-1.5-ext"
curl --request POST \
--url https://api.apisea.ai/v1/images/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "grok-imagine-1.5-edit-apisea",
"prompt": "An orange cat sitting on a sunny windowsill, oil painting style",
"size": "1:1",
"n": 1
}'Parametreler
| Parametre | Tür | Gerekli | Varsayılan | Açıklama |
|---|---|---|---|---|
model | string | Gerekli | grok-imagine-1.5-apisea | Image generation model name |
nsfw_check | boolean | İsteğe bağlı | false | Whether to run content moderation before submitting the image task. |
prompt | string | Gerekli | — | Text description for image generation or editing, supports multiple languages |
image_urls | string[] | İsteğe bağlı | — | Reference image URL list. **Omit for text-to-image; include for image editing**. |
size | string | İsteğe bağlı | 1:1 | Output image size |
n | integer | İsteğe bağlı | 1 | Number of images to generate |
grok-imagine-1.5-ext ile neler geliştirebilirsiniz?
Prompt-to-image tools
Build an interface that turns written descriptions into images, with controls for output shape and image count.
Background editing workflows
Let users provide an existing image and describe a background change through an editing prompt.
Style exploration
Use reference images and written style instructions to explore alternative visual treatments.
Asset generation queues
Build an asynchronous image workflow that submits tasks, checks their status, and saves completed assets for your team.
Daha iyi sonuçlar için ipuçları
- 01
Set the model explicitly
Use
grok-imagine-1.5-edit-apiseaor its listed callable aliasgrok-imagine-1.5-edit-ext. The documentation’s default model is a different ID, so do not rely on the default. - 02
Prepare accessible references
Omit image_urls for text-to-image requests. For editing, provide publicly accessible absolute HTTP or HTTPS URLs; upload local files through POST /v1/uploads/images and use the returned URL.
- 03
Control output count
Send n as an unquoted integer from 1–10, not a string. Start with n set to 1 when testing prompts to limit the number of billed images.
- 04
Poll and save outputs
Store the task ID returned on submission and query task status until processing finishes. Save generated images promptly because their links expire after 24 hours.
Sınırlar ve bilinmesi gerekenler
Image processing is asynchronous and requires subsequent task-status queries.
Generated image links are valid for 24 hours.
The shared generation and editing documentation allows 1–5 reference images; separate limits for this edit model ID are not specified.
grok-imagine-1.5-ext API SSS
How much does grok-imagine-1.5-ext cost on APISea?
APISea Default pricing is $0.0165 per image, versus the provider list price of $0.022 per image. The default configuration is about 25% below list price, with pay-as-you-go billing only for successful requests.
How do I call this model through the API?
Send a Bearer-authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to grok-imagine-1.5-edit-apisea and a required prompt. The listed callable alias is grok-imagine-1.5-edit-ext; submission returns a task ID for subsequent queries.
Which parameters control generation and editing?
The documentation lists prompt, image_urls, size, n, and nsfw_check. Omit image_urls for text-to-image generation and include reference URLs for editing; size supports 1:1, 16:9, 9:16, 3:2, and 2:3.
What are the input and output limits?
The shared generation and editing documentation supports 1–5 reference images and n values from 1–10. References must use publicly accessible absolute HTTP or HTTPS URLs, and generated links expire after 24 hours.
Can I use generated images commercially?
Commercial use is subject to the provider’s terms. Review xAI’s applicable terms for your intended use; the supplied documentation does not establish commercial-use rights.
How does this differ from grok-imagine-image-quality?
The documentation lists grok-imagine-image-quality separately, with 1k and 2k resolution options and up to three input images. Those specifications should not be assumed for grok-imagine-1.5-edit-apisea, and no comparative quality benchmark is provided.
İlgili modeller
grok-imagine-1.5-apisea
grok-imagine-2.0-ext
grok-imagine-image
grok-imagine-image-2.0
grok-imagine-image-quality
qwen-image-2.0
qwen-image-2.0-pro
qwen-image-3.0
grok-imagine-1.5-ext ile geliştirmeye başlayın
Tek bir anahtar, $50 tutarından başlayan kullandıkça öde modeli; yalnızca başarılı istekler için ücretlendirilirsiniz.