360 Secure SkillHub
360 安全技能中心

Apidot Flux Kontext Api

这是一款仅提供文档支持的助手,核心为用户提供APIDot Flux Kontext系列模型的使用指导,涵盖上下文感知图像生成/编辑、角色一致性、局部编辑、异步任务处理等工作流,同时引导至官方文档、示例等资源,不执行实际API调用。适用于用户咨询API集成、图像任务实现、文档查找等场景,输入为相关问题,输出对应指导与官方链接。

jiehao71727
jiehao71727
热度 18.01
最近更新 2026-07-11 10:12:32
分类:开发依赖:纯提示词应用场景:API 集成 / 图像生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add apidot-flux-kontext-api
Metadata
name
apidot-flux-kontext-api
description
Use APIDot for Flux Kontext API workflows, including Flux Kontext Pro, Flux Kontext Max, text-to-image API, context-aware image editing, character consistency, local edits, typography-aware visual updates, async task submission, task_id handling, polling, task status, webhook integration, and APIDot docs routing.
homepage
https://apidot.ai/models/flux-kontext
metadata
{"openclaw":{"homepage":"https://apidot.ai/docs","primaryEnv":"APIDOT_API_KEY","envVars":[{"name":"APIDOT_API_KEY","required":false,"description":"APIDot API key for real API calls. Store it server-side only."}]}}

APIDot Flux Kontext API

Use APIDot as a Flux Kontext-focused API surface for context-aware image generation, single-image editing, character consistency workflows, local edits, typography-aware visual updates, polling, and webhook delivery.

This skill is for routing Flux Kontext questions to the right APIDot docs, model pages, reference notes, and async integration guidance. 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, bundled API clients, automatic network calls, or stored credentials.

Start on APIDot

Use these APIDot entry points when coming from ClawHub:

When To Use

Use this skill when the user asks to:

  • Build a Flux Kontext API integration with APIDot.
  • Generate images from prompts, design prompts, product briefs, or campaign concepts.
  • Edit images while preserving context, characters, typography, or local visual intent.
  • Use Flux Kontext Pro or Flux Kontext Max through APIDot.
  • Implement APIDot async image jobs with task submission, task status polling, or webhook callbacks.
  • Find APIDot Flux Kontext docs, model pages, or examples.

Security Rules

  • Treat APIDOT_API_KEY as 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.

Flux Kontext Workflow

APIDot Flux Kontext generation follows the shared async task pattern:

  1. Choose the Flux Kontext request mode from the current APIDot docs.
  2. Submit the generation or edit request through the documented APIDot async generation flow.
  3. Save the returned data.task_id immediately.
  4. Poll task status with the documented task status API for local tests.
  5. Use callback_url webhook delivery for production queues or user workflows that may outlive the current page.
  6. 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 Flux Kontext task, then open the matching APIDot source:

User Goal Start Here
Browse APIDot Flux Kontext model page https://apidot.ai/models/flux-kontext
Build with Flux Kontext https://apidot.ai/docs/flux-kontext
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 Flux Kontext model routing, request planning, and async workflow notes.

For Flux Kontext 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-api when the user needs broad image generation guidance across several model families.
  • Use apidot-flux-2-api when the user specifically needs FLUX.2 workflows.
  • Use this skill when the user is specifically building with Flux Kontext through APIDot.
  • Ask which image task the user needs before choosing a model-specific example: prompt-only generation, single-image editing, character consistency, local edit, product visual, typography update, or reference-guided generation.
  • Persist task_id, selected model, user ID, source media references, request status, and final image URLs together.
  • Validate source image URLs before submitting workflows that depend on reference images.
  • 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, private image URLs, generated image URLs, or callback URLs.

Official Links