Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
Muse · Muse

muse-image-ext API

Generate a WebP image from text or up to 9 reference images with muse-image-ext on APISea.

إنشاء الصورالصورمهمة غير متزامنة
معرّف النموذج
muse-image-ext

تسعير API لنموذج muse-image-ext

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

الخيارAPISeaرسميوفّر
افتراضيافتراضي$0.00528$0.01−47%

الأسعار لكل صورة.

ما هو muse-image-ext؟

muse-image-ext is Muse’s image generation model for applications that turn text descriptions and optional reference images into a single WebP image. It accepts Chinese and English prompts, with a nonempty prompt required even when references are supplied. Developers can provide up to 9 reference images through public URLs, Data URIs, or raw base64. Seven aspect ratios support square, landscape, and portrait layouts; without an explicit ratio, text-only requests default to square and reference-based requests follow the reference composition.

On APISea, submit generation requests to /v1/images/generations using your APISea key and the model ID muse-image-ext. Processing is asynchronous: save the returned task ID and poll for status and results, or configure task notifications. APISea Default pricing is $0.00528 per image, about 47% below the provider list price of $0.01 per image. Usage is pay-as-you-go, with billing only for successful requests.

أبرز مزايا muse-image-ext

Text and Reference Inputs

Generate from a text prompt alone or include up to 9 reference images. Reference inputs accept public URLs, Data URIs, and raw base64.

Seven Aspect Ratios

Choose square, landscape, or portrait layouts through aspect_ratio. Omit it to use the text-only square default or follow reference composition.

Single WebP Output

Each request generates one image and returns a WebP URL. The model determines the output dimensions.

Optional Content Moderation

Set nsfw_check to true to review prompts and input images with omni-moderation-latest before submission. Moderation is disabled by default.

كيفية استدعاء API الخاص بـ muse-image-ext في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/images/generations مع "model": "muse-image-ext" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --header 'Idempotency-Key: <unique-operation-key>' \
  --data '{
    "model": "muse-image-ext",
    "prompt": "A red ceramic cup on a white table, soft studio lighting, product photography, no text",
    "aspect_ratio": "1:1",
    "n": 1
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوب—Must be `muse-image-ext`.
nsfw_checkbooleanاختياريfalseWhether to run content moderation before submitting the image task.
promptstringمطلوب—A text description of the requested content. Chinese and English are supported. It must not be empty after trimming whitespace, including when reference images are provided.
image_urlsstring[]اختياري—Up to 9 nonempty reference image inputs. Accepts public URLs, Data URIs (such as `data:image/png;base64,...`), or raw base64. Omit or send `[]` for text-only generation. PNG, JPEG, and WebP are recommended. Remote URLs must be directly accessible by the server without browser login cookies.
aspect_ratiostringاختياري—Supports the seven ratios below. If omitted, text-to-image defaults to `1:1`; generation with references follows their composition. An explicit ratio overrides this behavior. For automatic selection, omit this field; do not send `"auto"`.
sizestringاختياري—Compatibility field accepting the seven ratios above or `auto`; pixel sizes such as `1024x1024` are unsupported. Sending only `size: "auto"` is equivalent to not specifying a ratio. Prefer `aspect_ratio`. If both are valid, `aspect_ratio` takes precedence, but each field is validated independently: a valid ratio cannot override an invalid `size`.
nintegerاختياري1Only one result per request. The only accepted value is the number `1`. Explicit `0`, negative values, or values above `1` cause an error.
webhookstringاختياري—Backend base URL for task notifications. The platform removes trailing slashes and appends `/callback`: for example, `https://your-backend.example/muse` becomes `https://your-backend.example/muse/callback`. Omit when using polling only.
languagestringاختياري—Controls Webhook error-message language, not generated content. Supported values: `zh`, `en`, `ja`, `ko`, `ru`, `fr`, `de`, `id`, `pt`, `es`. Regional tags such as `zh-CN` are not accepted. For polling, pass the language separately in the GET query string.

ما الذي يمكنك إنشاؤه باستخدام muse-image-ext

Prompt-to-image interfaces

Build an image creation interface that accepts Chinese or English descriptions and lets users choose an aspect ratio.

Reference-guided creative tools

Let users attach reference images alongside a prompt to guide a new image generation request.

Multi-layout content workflows

Request separate square, landscape, and portrait images for content workflows using the supported aspect ratios.

Background generation queues

Integrate image generation into a queued workflow that tracks task IDs and retrieves results through polling or task notifications.

نصائح للحصول على نتائج أفضل

  • 01

    Describe the requested content

    Always supply a nonempty prompt, including for reference-based requests. Use Chinese or English to describe the image you want.

  • 02

    Prefer aspect_ratio

    Use aspect_ratio for layout control and omit it for automatic behavior. Do not send auto in this field or pixel dimensions in size.

  • 03

    Prepare references carefully

    Keep the combined original reference size within 11 MiB (11,534,336 bytes). Use directly accessible URLs or supported encoded inputs; PNG, JPEG, and WebP are recommended.

  • 04

    Retry submissions safely

    Send a unique Idempotency-Key for each independent generation and reuse it with the same request after a timeout or network failure. Once you have a task ID, query that task instead of resubmitting.

القيود ومعلومات مهمة

  • Generation is asynchronous; an accepted submission is not a completed image.

  • Each request accepts at most 9 reference images and produces exactly one result.

  • Pixel dimensions and 1K, 2K, or 4K tiers cannot be selected.

الأسئلة الشائعة حول API الخاص بـ muse-image-ext

How much does muse-image-ext cost on APISea?

APISea Default costs $0.00528 per image, compared with the provider list price of $0.01 per image. The default configuration is about 47% below list price, with pay-as-you-go billing only for successful requests.

How do I call muse-image-ext through the API?

Send an authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to muse-image-ext and a nonempty prompt. Save the default response’s data[0].task_id, then query GET /v1/tasks/{task_id} using the same user identity.

Can muse-image-ext use reference images?

Yes, image_urls accepts up to 9 nonempty references as public URLs, Data URIs, or raw base64. Their combined original size must not exceed 11 MiB (11,534,336 bytes), and a text prompt is still required.

Which aspect ratios and resolutions are supported?

Supported aspect ratios are 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, and 2:3. The model determines pixel dimensions; explicit pixel sizes and 1K, 2K, or 4K tiers are unsupported.

Can I generate multiple images in one request?

No. Each request produces one WebP image, and the only accepted value for n is 1.

Can I use generated images commercially?

Commercial use is subject to the provider's terms. Review the applicable terms for your intended use before deploying generated images commercially.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام muse-image-ext

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.