grok-imagine-1.5-ext APIの料金
すべての料金はUSDです。同じ単位でAPISeaの料金と公式価格表の料金を比較しています。
| オプション | APISea | 公式 | 節約 |
|---|---|---|---|
| デフォルトデフォルト | $0.0165 | $0.022 | −25% |
料金の単位は画像あたりです。
grok-imagine-1.5-extとは?
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の特長
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を4つのステップで呼び出す方法
- 01
APIキーを取得する
APISeaにサインインし、$50からチャージして、コンソールでsk-seaキーを作成します。
- 02
ベースURLを設定する
SDKまたはHTTPクライアントのベースURLにhttps://api.apisea.ai/v1を設定します。
- 03
リクエストを送信する
"model": "grok-imagine-1.5-edit-apisea"と以下のパラメーターを指定して、POST /v1/images/generationsを呼び出します。
- 04
レスポンスを処理する
レスポンスにはtask_idが含まれます。ステータスがcompletedになるまでGET /v1/tasks/{task_id}をポーリングし、その後、結果のURLからダウンロードします。
# 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
}'パラメーター
| パラメーター | 種類 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
model | string | 必須 | grok-imagine-1.5-apisea | Image generation model name |
nsfw_check | boolean | 任意 | false | Whether to run content moderation before submitting the image task. |
prompt | string | 必須 | — | Text description for image generation or editing, supports multiple languages |
image_urls | string[] | 任意 | — | Reference image URL list. **Omit for text-to-image; include for image editing**. |
size | string | 任意 | 1:1 | Output image size |
n | integer | 任意 | 1 | Number of images to generate |
grok-imagine-1.5-extでできること
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.
より良い結果を得るためのヒント
- 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.
制限事項と注意点
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に関するよくある質問
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.
関連モデル
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で開発を始めましょう
APIキー1つで利用でき、$50からの従量課金です。課金対象は成功したリクエストのみです。