curl-X POST 'https://pollo.ai/api/platform/v1/generation/qwen/qwen-image-3/image'\-H'Content-Type: application/json'\-H'x-api-key: YOUR_API_KEY'\-d'{ "input": { "prompt": "A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field", "aspectRatio": "1:1", "resolution": "1K" }}'
{"input":{"prompt":"A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field","aspectRatio":"1:1","resolution":"1K"},"webhookUrl":"https://example.com/webhooks/pollo"}
模式
输入所选端点和模式的字段。
场地
类型
必需的
描述
prompt
string
支持
Text prompt describing the content to generate.
aspectRatio
string
不
Output aspect ratio, as width:height (e.g. 16:9).
resolution
string
不
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.
Labeled Learning Cards: Pair a simple illustration with supplied terms so the image communicates a specific concept at a glance.
Community Information Graphics: Turn event details into an organized visual with a headline, supporting information, and a recognizable illustration.
Visual Checklist Drafts: Arrange supplied tasks beside simple icons, keeping each item in a predictable position.
Menu and Directory Concepts: Explore grouped items and section labels before rebuilding the approved layout as editable content.
Instructional Story Panels: Present a short, supplied sequence in separate illustrated panels with concise accompanying labels.
Existing Design Variations: Use a source image to explore revised content or visual treatment while keeping its overall structure in the brief.
如何使用 Qwen Image 3.0 API
Get an API Key: Create a Pollo API account and generate your API key from the developer dashboard.
Choose the Model: Send requests to the Qwen Image 3.0 endpoint at /generation/qwen/qwen-image-3/image.
Add Your Inputs: Supply the layout instructions and exact text, plus supported source images for revisions. Select aspectRatio and resolution in the request.
Generate and Retrieve: Submit the task, check its status, and retrieve the completed image. Verify wording and layout against your original content before export.
Qwen Image 3.0 API 的提示词最佳实践
先明确图片需要传达什么。定义格式,把内容分成几个清晰的区域,并为每个区域提供准确的文字。
简单的提示词公式
Communication goal + visual format + section arrangement + illustration for each section + exact labels + palette + spacing
你应该注意什么
One Main Message: Give the viewer a clear takeaway before adding supporting content.
Explicit Grouping: Name the number of cards, rows, or panels and state what belongs in each one.
Short Labels: Use concise copy where possible so lettering has room to remain readable.
Ordered Instructions: Present the content in the same sequence that the viewer should read it.
Content Verification: Supply factual text yourself and check the result; image generation should not be treated as a source for invented figures or instructions.