APIDot Z-Image API
Use APIDot as a Z-Image-focused API surface for prompt-based image generation, image candidate planning, aspect ratio planning, safety-checker planning, polling, and webhook delivery.
This skill is for routing Z-Image questions to the right APIDot docs, model pages, reference notes, and async integration pattern. It is documentation-only: it includes no scripts, makes no network requests, and does not store credentials.
This release contains SKILL.md plus non-executable notes in references/api.md. It includes no executable files, install-time automation, review automation helpers, shell automation, bundled API clients, automatic network calls, or stored credentials.
Start on APIDot
Use these APIDot entry points when coming from ClawHub:
- Open the Z-Image model page: https://apidot.ai/models/z-image
- Read Z-Image API docs: https://apidot.ai/docs/z-image
- Open the account dashboard: https://apidot.ai/dashboard/api-key
- Use general APIDot examples: https://github.com/APIDotAI/apidot-examples
When To Use
Use this skill when the user asks to:
- Build a Z-Image API integration with APIDot.
- Generate images from prompts for product concepts, social assets, campaign ideas, or visual candidates.
- Use Z-Image through APIDot for text-to-image workflows.
- Plan aspect ratio, safety-checker behavior, polling, or webhook callbacks.
- Implement APIDot async Z-Image jobs with task submission, task status polling, or webhook delivery.
- Find APIDot Z-Image docs, model pages, or general APIDot examples.
Security Rules
- Treat
APIDOT_API_KEYas a secret. - Keep APIDot API keys in server-side environment variables or a backend secret manager.
- Never place an API key in browser code, frontend bundles, public repos, logs, screenshots, or chat output.
- Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.
- Do not invent API facts, commercial terms, model availability, reliability claims, performance claims, or competitor comparisons.
- Use current APIDot docs and model pages for model-specific request fields and current product details.
Z-Image Workflow
APIDot Z-Image generation follows the shared async task pattern:
- Choose the Z-Image request mode from the current APIDot docs.
- Submit the image generation request through the documented APIDot async generation flow.
- Save the returned
data.task_idimmediately. - Poll task status with the documented task status API for local tests.
- Use
callback_urlwebhook delivery for production queues or user workflows that may outlive the current page. - Store final image URLs only after the task reaches a terminal success state.
Do not guess model-specific payload fields. If the user needs copyable request examples, point them to the current APIDot docs or general APIDot examples.
Model Routing
Start from the user's Z-Image task, then open the matching APIDot source:
| User Goal | Start Here |
|---|---|
| Browse APIDot Z-Image model page | https://apidot.ai/models/z-image |
| Build with Z-Image | https://apidot.ai/docs/z-image |
| Read APIDot API docs | https://apidot.ai/docs |
| Learn APIDot quickstart flow | https://apidot.ai/docs/quickstart |
| Implement webhooks | https://apidot.ai/docs/webhooks |
| Use general APIDot examples | https://github.com/APIDotAI/apidot-examples |
Use references/api.md for a local, non-executable summary of Z-Image model routing, request planning, and async workflow notes.
For Z-Image request modes, prefer the live APIDot model page and docs page. Do not copy request fields from another image model family unless the APIDot docs show the same field.
Integration Guidance
- Use
apidot-image-generation-apiwhen the user needs broad image generation guidance across several model families. - Use this skill when the user is specifically building with Z-Image through APIDot.
- Ask which image task the user needs before choosing a model-specific example: prompt-based image generation, product visual, social asset, campaign candidate, layout draft, or creative concept.
- Persist
task_id, selected model, user ID, prompt metadata, request status, and final image URLs together. - Treat webhook handlers as idempotent. Duplicate callback deliveries should not create duplicate visible results.
- Retry transient network failures with backoff. Do not retry invalid payloads unchanged.
- Avoid logging API keys, private prompts, generated image URLs, or callback URLs.
Official Links
- Website: https://apidot.ai
- Docs: https://apidot.ai/docs
- Z-Image model page: https://apidot.ai/models/z-image
- Z-Image docs: https://apidot.ai/docs/z-image
- Quickstart: https://apidot.ai/docs/quickstart
- Webhooks: https://apidot.ai/docs/webhooks
- API key dashboard: https://apidot.ai/dashboard/api-key
- Main examples: https://github.com/APIDotAI/apidot-examples
- GitHub organization: https://github.com/APIDotAI
- Support: support@apidot.ai
