模型定價企業
500+ AI 模型 API,全部整合在一個 API 中。就在 CometAPI
模型 API
開發者
快速入門說明文件API 儀表板
公司
關於我們企業
資源
AI模型部落格更新日誌支援
服務條款隱私政策
© 2026 CometAPI · All rights reserved
Home/Models/Flux/flux-pro-1.0-canny
F

flux-pro-1.0-canny

每次請求:$0.06
商業用途
概覽
功能
定價
API

Technical Specifications of flux-pro-1-0-canny

SpecificationDetails
Model IDflux-pro-1-0-canny
Model familyFLUX.1 Canny [pro]
Provider / originBlack Forest Labs’ FLUX family, also exposed through third-party inference platforms such as Replicate and fal.
ModalityImage-to-image / controlled image generation using a text prompt plus a Canny edge control image.
Core control methodCanny edge detection for structure-preserving guidance.
Primary use casesSketch-to-image, retexturing while preserving composition, controlled style transfer, and architectural or layout-constrained visualization.
Input typesPrompt text plus a control image / edge map; common runtime parameters on public deployments include steps, guidance, seed, output format, and safety-related controls.
OutputGenerated image files following the structure of the supplied edge map.
Inference patternTypically asynchronous task submission with result polling on FLUX-style APIs.

What is flux-pro-1-0-canny?

flux-pro-1-0-canny is CometAPI’s platform identifier for the FLUX.1 Canny [pro] model, a professionally oriented edge-guided image generation model in the FLUX ecosystem. Its defining capability is that it uses Canny edge detection as a structural conditioning signal, so the model can generate a new image that follows the composition and contours of an input image while still responding to a natural-language prompt.

In practical terms, this model is designed for users who want more control than standard text-to-image generation provides. Instead of describing everything purely in words, you can provide a sketch, extracted edge map, or composition reference and ask the model to render it in a different style, material treatment, or scene context. Public model descriptions consistently position it as especially useful for preserving layout and structure during transformation tasks.

Because the underlying FLUX APIs often use job submission plus polling, integrations with this kind of model are commonly built as asynchronous workflows: submit the request, receive a task ID, then fetch the result once processing is complete.

Main features of flux-pro-1-0-canny

  • Edge-guided structural control: The model uses Canny edge maps to preserve the composition, outlines, and major forms of the source image during generation.
  • Prompt-driven restyling: You can combine an edge-controlled input with a text prompt to change appearance, mood, materials, or artistic style without discarding the original structure.
  • Strong fit for sketch-to-image workflows: Public examples and descriptions highlight turning sketches or edge-derived guides into polished artwork and production-ready visuals.
  • Composition-preserving retexturing: It is well suited for retexturing scenes or objects while keeping the layout stable, which is useful in product, concept, and environment visualization workflows.
  • Useful parameter control: Public API surfaces for this model commonly expose inference settings such as diffusion steps, guidance strength, seed, output format, and safety tolerance, enabling reproducibility and tuning.
  • Production-friendly API behavior: FLUX API integration guidance emphasizes endpoint-based job submission and result polling, which fits backend automation and application pipelines well.

How to access and integrate flux-pro-1-0-canny

Step 1: Sign Up for API Key

Sign up on CometAPI and generate your API key from the dashboard. Store it securely and load it through an environment variable in your application before making requests to flux-pro-1-0-canny API.

Step 2: Send Requests to flux-pro-1-0-canny API

Use CometAPI's Flux-compatible endpoint at POST /flux/v1/{model}.

curl https://api.cometapi.com/flux/v1/flux-pro-1-0-canny \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "prompt": "A breathtaking landscape painting with golden hour lighting",
    "width": 1024,
    "height": 768,
    "steps": 20,
    "prompt_upsampling": true
  }'

Step 3: Retrieve and Verify Results

The API returns a task ID. Poll GET /flux/v1/get_result?id={task_id} to check generation status and retrieve the output image when complete.

flux-pro-1.0-canny 的功能

探索 flux-pro-1.0-canny 的核心功能,專為提升效能和可用性而設計。了解這些功能如何為您的專案帶來效益並改善使用者體驗。

flux-pro-1.0-canny 的定價

探索 flux-pro-1.0-canny 的競爭性定價,專為滿足各種預算和使用需求而設計。我們靈活的方案確保您只需為實際使用量付費,讓您能夠隨著需求增長輕鬆擴展。了解 flux-pro-1.0-canny 如何在保持成本可控的同時提升您的專案效果。
彗星價格 (USD / M Tokens)官方價格 (USD / M Tokens)折扣
每次請求:$0.06
每次請求:$0.075
-20%

flux-pro-1.0-canny 的範例程式碼和 API

存取完整的範例程式碼和 API 資源,以簡化您的 flux-pro-1.0-canny 整合流程。我們詳盡的文件提供逐步指引,協助您在專案中充分發揮 flux-pro-1.0-canny 的潛力。

更多模型

G

Nano Banana 2

輸入:$0.4/M
輸出:$2.4/M
核心能力概覽:解析度:最高可達 4K(4096×4096),與 Pro 相當。參考圖片一致性:最多支援 14 張參考圖片(10 個物件 + 4 個角色),維持風格與角色一致性。極端寬高比:新增 1:4、4:1、1:8、8:1 比例,適合長圖、海報與橫幅。文字渲染:進階文字生成,適用於資訊圖表與行銷海報版面。搜尋強化:整合 Google Search + Image Search。Grounding:內建思考過程;在生成前會先對複雜提示進行推理。
C

Claude Opus 4.7

輸入:$4/M
輸出:$20/M
用於智能體與程式設計的最智能模型
C

Claude Opus 4.6

輸入:$4/M
輸出:$20/M
Claude Opus 4.6 是 Anthropic 的「Opus」級大型語言模型,於 2026 年 2 月發布。它被定位為知識工作與研究工作流程的主力,著重提升長上下文推理、多步規劃、工具使用(包括代理型軟體工作流程),以及電腦操作任務,例如自動化製作投影片與試算表。
A

Claude Sonnet 4.6

輸入:$2.4/M
輸出:$12/M
Claude Sonnet 4.6 是我們迄今為止最強大的 Sonnet 模型。它對模型在程式設計、電腦操作、長上下文推理、代理規劃、知識工作與設計等方面的能力進行了全面升級。Sonnet 4.6 亦提供 1M 詞元的上下文視窗,目前處於 Beta 階段。
O

GPT-5.4 nano

輸入:$0.16/M
輸出:$1/M
GPT-5.4 nano 專為速度與成本最為關鍵的任務而設計,例如分類、資料擷取、排序與子智能體。
O

GPT-5.4 mini

輸入:$0.6/M
輸出:$3.6/M
GPT-5.4 mini 將 GPT-5.4 的優勢帶入一個更快速、更高效、專為大量工作負載設計的模型。