API chuyển đổi ảnh

API AI dành cho nhà phát triển

API chuyển đổi ảnh

Tích hợp chỉnh sửa hình ảnh AI với API chuyển đổi ảnh PoYo. So sánh các mô hình hình ảnh tham chiếu, điều khiển chỉnh sửa, chất lượng đầu ra và giá cả cho ảnh sản phẩm, ảnh chân dung và các biến thể trực quan.

Các mô hình phù hợp

Các mô hình 34

Nano Banana Pro
Hình ảnh sang hình ảnh

$0.04 /lần tạo

nano-banana-pro

Google's advanced Gemini 3 Pro image model featuring 4K resolution, enhanced reasoning, real-time data integration, and multi-image composition capabilities.

GPT Image 2
Hình ảnh sang hình ảnh

$0.01 /lần tạo

gpt-image-2

OpenAI's premium image generation family for text-to-image creation and single-image editing with simple prompt-driven controls.

Qwen Image 3.0
Hình ảnh sang hình ảnh

$0.024 /ảnh

qwen-image-3

Alibaba's third-generation image model for long prompts, information-dense layouts, fine text rendering, multilingual visuals, and knowledge-rich image generation.

FLUX 3 Image Klein
Hình ảnh sang hình ảnh

$0.009 /ảnh

flux-3-klein

Generate and edit images with FLUX 3 Image Klein. Use 1K, 2K or 4K output, up to ten editing references, custom dimensions, and PNG, JPEG or WebP output.

Seedream 5.0 Pro
Hình ảnh sang hình ảnh

$0.075 /ảnh

seedream-5.0-pro

ByteDance's flagship image model for precise prompt following, dense layouts, multilingual text rendering, and region-precise editing.

GPT Image 2.5
Hình ảnh sang hình ảnh

$4.00 Nhập 1M

gpt-image-2.5-flare

OpenAI image generation and editing with high-fidelity reference images, precise inpainting, multi-turn consistency, and transparent backgrounds. Explore Flare and Sunburst and compare GPT Image 2.5 with GPT Image 2 on PoYo.

GPT Image 2.6
Hình ảnh sang hình ảnh

$4.00 Nhập 1M

gpt-image-2.6-flare

Affordable GPT Image 2.6 API for text-to-image and reference image editing with OpenAI's Flare and Sunburst. One REST call, from 1.7 credits ($0.0085) per image on PoYo.

Grok Imagine Image 2.0
Hình ảnh sang hình ảnh

$0.04 /ảnh

grok-imagine-image-2.0

xAI image generation and editing with up to three input images, five supported aspect ratios, 1K or 2K resolution, selectable quality, and up to four outputs.

MAI Image 2.7
Hình ảnh sang hình ảnh

$1.75 Nhập 1M

mai-image-2.7

MAI Image 2.7 and MAI Image 2.7 Flash API on PoYo: Microsoft's image models for text-to-image and precise editing with up to 5 reference images, transparent backgrounds, and custom sizes up to 4,194,304 pixels.

MAI Image 2.6
Hình ảnh sang hình ảnh

$1.40 Nhập 1M

mai-image-2.6

MAI Image 2.6 and MAI Image 2.6 Flash API on PoYo: Microsoft's image models for photorealistic text-to-image, legible in-image text, and editing or composition with up to 5 reference images, with optional web search grounding.

MiniMax H3 Image
Hình ảnh sang hình ảnh

$0.016 /ảnh

minimax-h3-image

MiniMax H3 Image API on PoYo: MiniMax's open-weight image model for text-to-image and editing with up to 16 reference images, 1K, 2K or 4K output, custom sizes up to 20 megapixels, and sharp in-image text. From 3.2 credits ($0.016) per image.

Qwen Image 2.1
Hình ảnh sang hình ảnh

$0.03 /lần tạo

qwen-image-2.1

Alibaba's 7B open-weight unified text-to-image and editing model with native RGBA transparency, up to 10 reference images, and 2K resolution.

Seedream 5.5
Hình ảnh sang hình ảnh

$0.008 /ảnh

seedream-5.5

Seedream 5.5 API on PoYo: ByteDance Seed's image model for text-to-image, multi-reference editing with up to 10 images, native transparent PNGs, and layer decomposition into a base image plus up to 99 layers. From 4 credits ($0.02) per image.

Kling Image 4.0
Hình ảnh sang hình ảnh

$0.065 /ảnh

kling-4.0-image

Kling Image 4.0 API on PoYo: Kling AI's image model for native 8K text-to-image and editing with up to 10 references, including multi-angle elements, matching image sets of up to 10 images, and long webpage or ecommerce page designs. From 13 credits ($0.065) per image.

Ideogram 4.5
Hình ảnh sang hình ảnh

$0.008 /ảnh

ideogram-v4.5

Generate images, posters and typography with Ideogram 4.5, or precisely edit a source image with masks and reference images. Compare quality-based pricing for generation and editing on PoYo.

Ideogram 4.6
Hình ảnh sang hình ảnh

$0.008 /ảnh

ideogram-v4.6

Ideogram 4.6 API on PoYo: Ideogram's image model for text-to-image up to 4096 pixels per side and precise image editing with masks, up to 4 reference images and high-precision edits. Four quality levels, 2K and 4K price tiers, from 1.6 credits ($0.008) per image.

Ideogram Vector 1.0
Hình ảnh sang hình ảnh

$0.10 /ảnh

ideogram-vector-1.0/text-to-vector

Ideogram Vector creates editable SVG artwork from a text prompt, with optional reference images, or converts one image into an SVG. Text to vector is billed per SVG at the same rates Fal publishes for low, medium, and high quality.

Nano Banana 2.1
Hình ảnh sang hình ảnh

$0.02 /ảnh

nano-banana-2.1

Generate and edit 1K, 2K and 4K images with Google's Nano Banana 2.1. Combine up to 10 reference images for product visuals, posters and consistent creative assets. From 4 credits ($0.02) per image.

Seedream 5.0 Flash
Hình ảnh sang hình ảnh

$0.02 /ảnh

seedream-5.0-flash

ByteDance's fast, cost-efficient image model for 1K/1.5K/2K generation, multi-reference editing, and multilingual visual content. 4 credits per image.

FLUX.2
Hình ảnh sang hình ảnh

$0.03 /lần tạo

flux-2-pro

Black Forest Labs' production-grade model combining 4MP image generation and editing with multi-reference support, precise typography, and hex color control.

GPT Image 1.5
Hình ảnh sang hình ảnh

$0.01 /lần tạo

gpt-image-1.5

OpenAI's latest image model with 4x speed, precision editing, and superior text rendering.

Nano Banana
Hình ảnh sang hình ảnh

$0.025 /lần tạo

nano-banana

Google's leaderboard-topping image model (Gemini 2.5 Flash) excelling in natural language editing, character consistency, and multi-image blending.

Seedream 4
Hình ảnh sang hình ảnh

$0.025 /lần tạo

seedream-4

ByteDance's multimodal image model for native 1K to 4K generation, reference-guided editing, and batch outputs up to 15 images.

Flux Kontext
Hình ảnh sang hình ảnh

$0.04 /lần tạo

flux-kontext-pro

Black Forest Labs' in-context image generation and editing family for scene-preserving edits, text replacement, and prompt-driven visual changes.

GPT-4o Image
Hình ảnh sang hình ảnh

$0.02 /lần tạo

gpt-4o-image

OpenAI's native multimodal image generator with exceptional text rendering, precise prompt following, and conversational editing capabilities.

Seedream 4.5
Hình ảnh sang hình ảnh

$0.025 /lần tạo

seedream-4.5

ByteDance's unified 4K image generation and editing model with professional-grade text rendering and commercial photography quality.

Nano Banana 2
Hình ảnh sang hình ảnh

$0.025 /lần tạo

nano-banana-2-new

Google's next-gen image model powered by Gemini 3.1 Flash with native 2K/4K resolution, chain-of-thought reasoning, precise multi-language text rendering, and up to 14 reference images.

Seedream 5.0 Lite
Hình ảnh sang hình ảnh

$0.025 /lần tạo

seedream-5.0-lite

ByteDance's efficient multimodal image model with native 2K/3K resolution, deep thinking, bilingual text rendering, and smart editing.

Wan 2.7 Image
Hình ảnh sang hình ảnh

$0.021 /lần tạo

wan-2.7-image

Alibaba's unified Wan 2.7 image family for text-to-image generation and reference-based image editing with standard and pro quality tiers.

Nano Banana 2 Lite
Hình ảnh sang hình ảnh

$0.025 /lần tạo

nano-banana-2-lite

Google's fastest and most cost-efficient Gemini Image model, built for rapid ideation, high-throughput image generation, low-latency creative workflows, and scaled production pipelines.

Kling O3 Image
Hình ảnh sang hình ảnh

$0.018 /ảnh

kling-o3-image

Kling's O3 image family supports prompt-only generation, multi-reference editing, single outputs, and connected series generation with 1K to 4K resolution tiers.

Kling O1 Image
Hình ảnh sang hình ảnh

$0.018 /ảnh

kling-o1-image-edit

Kling O1 Image Edit focuses on reference-based image transformation with optional elements guidance, flexible aspect ratios, and 1K or 2K output tiers.

Flux Dev
Hình ảnh sang hình ảnh

$0.02 /megapixel

flux-dev

Black Forest Labs image model for text-to-image generation and single-image editing with output-size based pricing.

Grok Imagine Image Quality
Hình ảnh sang hình ảnh

$0.04 /ảnh

grok-imagine-image-quality

xAI's higher-fidelity Grok Imagine image model for polished text-to-image generation and reference-based image editing.

Hình ảnh sang hình ảnh Model API - Giá cả và mô hình phù hợp

So sánh nhà cung cấp, đầu vào hỗ trợ, định dạng đầu ra và giá trước khi chọn mô hình.

Đúng phù hợp với nhiệm vụ

Các mô hình chỉ xuất hiện ở đây khi các metadata danh mục của họ bao gồm Image to Image.

So sánh nhà cung cấp

Xem xét các gia đình mô hình trên các nhà cung cấp mà không rời khỏi thư mục nhiệm vụ.

Các đường dẫn sẵn sàng cho API

Mỗi thẻ mô hình liên kết đến giá PoYo, ví dụ, điều khiển sân chơi và chi tiết API.

Mô hìnhNhà cung cấpCác loại nhiệm vụGiá
Nano Banana Pro

nano-banana-pro

GoogleText to Image, Image to Image$0.04/lần tạo
GPT Image 2

gpt-image-2

OpenAIText to Image, Image to Image$0.01/lần tạo
Qwen Image 3.0

qwen-image-3

AlibabaText to Image, Image to Image, Uncensored$0.024/ảnh
FLUX 3 Image Klein

flux-3-klein

Black Forest LabsText to Image, Image to Image$0.009/ảnh
Seedream 5.0 Pro

seedream-5.0-pro

SeedreamText to Image, Image to Image, Uncensored$0.075/ảnh
GPT Image 2.5

gpt-image-2.5-flare

OpenAIText to Image, Image to Image$4.00Nhập 1M
GPT Image 2.6

gpt-image-2.6-flare

OpenAIText to Image, Image to Image$4.00Nhập 1M
Grok Imagine Image 2.0

grok-imagine-image-2.0

xAIText to Image, Image to Image$0.04/ảnh
MAI Image 2.7

mai-image-2.7

MicrosoftText to Image, Image to Image$1.75Nhập 1M
MAI Image 2.6

mai-image-2.6

MicrosoftText to Image, Image to Image$1.40Nhập 1M
MiniMax H3 Image

minimax-h3-image

MiniMaxText to Image, Image to Image$0.016/ảnh
Qwen Image 2.1

qwen-image-2.1

AlibabaText to Image, Image to Image$0.03/lần tạo
Seedream 5.5

seedream-5.5

SeedreamText to Image, Image to Image$0.008/ảnh
Kling Image 4.0

kling-4.0-image

KlingText to Image, Image to Image$0.065/ảnh
Ideogram 4.5

ideogram-v4.5

IdeogramText to Image, Image to Image$0.008/ảnh
Ideogram 4.6

ideogram-v4.6

IdeogramText to Image, Image to Image$0.008/ảnh
Ideogram Vector 1.0

ideogram-vector-1.0/text-to-vector

IdeogramText to Image, Image to Image$0.10/ảnh
Nano Banana 2.1

nano-banana-2.1

GoogleText to Image, Image to Image$0.02/ảnh
Seedream 5.0 Flash

seedream-5.0-flash

SeedreamText to Image, Image to Image$0.02/ảnh
FLUX.2

flux-2-pro

Black Forest LabsText to Image, Image to Image$0.03/lần tạo
GPT Image 1.5

gpt-image-1.5

OpenAIText to Image, Image to Image$0.01/lần tạo
Nano Banana

nano-banana

GoogleText to Image, Image to Image$0.025/lần tạo
Seedream 4

seedream-4

SeedreamText to Image, Image to Image$0.025/lần tạo
Flux Kontext

flux-kontext-pro

Black Forest LabsText to Image, Image to Image$0.04/lần tạo
GPT-4o Image

gpt-4o-image

OpenAIText to Image, Image to Image$0.02/lần tạo
Seedream 4.5

seedream-4.5

SeedreamText to Image, Image to Image, Uncensored$0.025/lần tạo
Nano Banana 2

nano-banana-2-new

GoogleText to Image, Image to Image$0.025/lần tạo
Seedream 5.0 Lite

seedream-5.0-lite

SeedreamText to Image, Image to Image, Uncensored$0.025/lần tạo
Wan 2.7 Image

wan-2.7-image

AlibabaText to Image, Image to Image$0.021/lần tạo
Nano Banana 2 Lite

nano-banana-2-lite

GoogleText to Image, Image to Image$0.025/lần tạo
Kling O3 Image

kling-o3-image

KlingText to Image, Image to Image$0.018/ảnh
Kling O1 Image

kling-o1-image-edit

KlingImage to Image$0.018/ảnh
Flux Dev

flux-dev

Black Forest LabsText to Image, Image to Image$0.02/megapixel
Grok Imagine Image Quality

grok-imagine-image-quality

xAIText to Image, Image to Image$0.04/ảnh

Những câu hỏi thường được hỏi

API chuyển đổi ảnh là gì?

+

API hình ảnh thành hình ảnh tạo ra hình ảnh đã chỉnh sửa hoặc biến thể từ ảnh nguồn và hướng dẫn. Không giống như việc chỉ tạo văn bản, hình ảnh cung cấp thông tin trực quan về chủ đề, bố cục hoặc phong cách. Mô hình đã chọn sẽ xác định mức độ bám sát tham chiếu đó và chế độ chỉnh sửa nào có sẵn.

Làm cách nào để gửi hình ảnh tới API chỉnh sửa hình ảnh?

+

Sử dụng các trường nhập hình ảnh được ghi lại cho điểm cuối đã chọn. Một số chấp nhận URL hình ảnh có thể truy cập công khai, trong khi một số khác có thể hỗ trợ các mã hóa khác nhau. Xác minh định dạng, kích thước, kích thước và khả năng truy cập URL của tệp trước khi gửi; URL phiên trình duyệt riêng tư sẽ không tự động có thể truy cập được đối với dịch vụ tạo.

Làm cách nào để bảo quản sản phẩm hoặc người trong khi chỉnh sửa?

+

Sử dụng hình ảnh nguồn rõ ràng, chi tiết và nêu rõ các đặc tính phải giữ nguyên, chẳng hạn như mặt, bao bì, vị trí đặt logo hoặc hình dạng sản phẩm. Thực hiện một thay đổi có ý nghĩa tại một thời điểm. Kiểm tra kết quả một cách chặt chẽ vì hướng dẫn giữ nguyên đối tượng không đảm bảo các chi tiết giống hệt pixel.

Mọi hình ảnh thành API hình ảnh có hỗ trợ mặt nạ hoặc inpainting không?

+

Không. Tạo tham chiếu, chỉnh sửa dựa trên hướng dẫn, vẽ mặt nạ và vẽ ngoài là các khả năng khác nhau. Sử dụng tài liệu mô hình để xác nhận chế độ chỉnh sửa và các trường bắt buộc. Nếu không có dữ liệu đầu vào mặt nạ nào được ghi lại, đừng cho rằng việc thêm trường mặt nạ sẽ hạn chế chỉnh sửa ở một vùng.

Tôi có thể sử dụng nhiều hình ảnh tham chiếu không?

+

Một số kiểu máy hỗ trợ nhiều hình ảnh, với các giới hạn và hành vi tham chiếu dành riêng cho từng kiểu máy. Giải thích vai trò của từng hình ảnh, chẳng hạn như đặc điểm nhận dạng, bố cục hoặc phong cách của sản phẩm khi được hỗ trợ. Tránh các tham chiếu xung đột và xác nhận số lượng hình ảnh được chấp nhận trước khi xây dựng quy trình làm việc nhiều hình ảnh.

Điều gì tạo nên lời nhắc chỉnh sửa hình ảnh tốt?

+

Mô tả sự thay đổi mong muốn và các chi tiết cần lưu giữ trong các hướng dẫn cụ thể, riêng biệt. Ví dụ: yêu cầu nền mới trong khi vẫn giữ nguyên hình dạng, màu sắc và nhãn sản phẩm. Tránh yêu cầu chỉnh sửa không liên quan cùng một lúc; các sửa đổi gia tăng làm cho các lỗi được chẩn đoán dễ dàng hơn.

Tôi có thể tăng độ phân giải hình ảnh bằng API hình ảnh thành hình ảnh không?

+

Một số kiểu hình ảnh cung cấp kích thước đầu ra cao hơn nhưng việc tạo ra biến thể lớn hơn cũng có thể làm thay đổi nội dung. Kiểm tra xem yêu cầu của bạn là chỉnh sửa, kết xuất mới hay nâng cấp trung thực. Xem xét riêng kích thước đầu ra và việc bảo toàn chi tiết, đồng thời sử dụng công cụ nâng cao chuyên dụng khi công cụ đó phù hợp hơn với nội dung.

Hình ảnh với hình ảnh khác với văn bản với hình ảnh như thế nào?

+

Image to Image bắt đầu bằng tài liệu nguồn trực quan và hướng dẫn về cách chuyển đổi nó. Chuyển văn bản thành hình ảnh bắt đầu bằng một mô tả bằng văn bản. Sử dụng API chỉnh sửa hình ảnh để sửa đổi sản phẩm, thay đổi theo chiều dọc và các biến thể có hướng dẫn tham khảo; chỉ sử dụng tính năng tạo văn bản khi bạn đang khám phá hình ảnh mới từ đầu.

Làm cách nào để truy xuất hình ảnh đã chỉnh sửa thông qua PoYo?

+

Gửi mô hình đã chọn và hình ảnh đầu vào của nó thông qua điểm cuối tạo tài liệu. Lưu task_id và truy xuất kết quả đã hoàn thành bằng cách thăm dò trạng thái hoặc gọi lại webhook được hỗ trợ. Lưu trữ mối quan hệ nguồn-đầu ra trong ứng dụng của bạn để người dùng có thể so sánh các phiên bản và xác định yêu cầu nào đã tạo ra mỗi chỉnh sửa.

Điều gì ảnh hưởng đến việc định giá API hình ảnh thành hình ảnh?

+

Kiểu máy, kích thước đầu ra, số lượng hình ảnh và các tính năng chỉnh sửa tùy chọn có thể ảnh hưởng đến chi phí. Một số điểm cuối cũng định giá đầu vào tham chiếu hoặc xử lý dựa trên kích thước riêng biệt. So sánh đơn vị thanh toán và các cấp liên quan trên trang mô hình, sau đó ước tính số lần chỉnh sửa cần thiết để có kết quả có thể chấp nhận được.

Tại sao hình ảnh đã chỉnh sửa lại thay đổi chi tiết mà tôi muốn giữ lại?

+

Mô hình có thể hiểu yêu cầu là sự tái tạo rộng hơn, đặc biệt là với các hướng dẫn xung đột hoặc tài liệu tham khảo không rõ ràng. Sử dụng hình ảnh nguồn sạch hơn, thu hẹp chỉnh sửa và đặt tên rõ ràng cho các chi tiết cần lưu giữ. Kiểm tra chế độ chỉnh sửa chuyên dụng hoặc mô hình tham khảo khác khi vấn đề tương tự vẫn tiếp diễn.

Tôi có thể tìm thấy các ví dụ về yêu cầu API chỉnh sửa hình ảnh ở đâu?

+

Mỗi trang mô hình PoYo liên kết đến tài liệu API với các trường hình ảnh hiện tại, các cài đặt và ví dụ được hỗ trợ. Tài nguyên llms.txt dành riêng cho mô hình cũng hữu ích cho trợ lý mã hóa và công việc tích hợp. Sao chép cấu trúc cho điểm cuối đó thay vì giả sử tất cả API chỉnh sửa hình ảnh đều chấp nhận các tham số giống hệt nhau.