dola-seedream-5.0-flash-i2i API
Dùng dola-seedream-5.0-flash-i2i để tạo Hình ảnh qua API tương thích OpenAI.
Khả năng
- Mô hình
- Hình ảnh
- Mô hình API
dola-seedream-5.0-flash-i2i- Điểm cuối
- image-generation
- Tham số
- độ phân giải, tỷ lệ khung hình, ảnh tham chiếu, định dạng đầu ra
Giá hiện tại
≈¥0.11 mỗi yêu cầu
Ví dụ trong thư viện
Nữ hầu hàng đầuMô hình API:
dola-seedream-5.0-flash-i2iNữ hầu hàng đầu — khám phá tác phẩm được tạo bằng dola-seedream-5.0-flash-i2i trên OpenZhenZhen, kèm prompt gốc và ví dụ tạo nội dung để tham khảo.
Bắt đầu nhanh
curl https://api.seedance.nz/v1/images/generations \
-H "Authorization: Bearer $SEEDANCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"dola-seedream-5.0-flash-i2i","prompt":"A clear description of the scene","images":["https://cdn.example.com/reference.png"]}'from openai import OpenAI
client = OpenAI(base_url="https://api.seedance.nz/v1", api_key="$SEEDANCE_API_KEY")
result = client.images.generate(model="dola-seedream-5.0-flash-i2i", prompt="A clear description of the scene", **{"images":["https://cdn.example.com/reference.png"]})const client = new OpenAI({ baseURL: 'https://api.seedance.nz/v1', apiKey: process.env.SEEDANCE_API_KEY });
const result = await client.images.generate({ model: 'dola-seedream-5.0-flash-i2i', prompt: 'A clear description of the scene', images: ['https://cdn.example.com/reference.png'] });Câu hỏi thường gặp
Gọi mô hình này như thế nào?
Tạo API key, dùng tên mô hình bên dưới và gửi yêu cầu tới endpoint tương thích OpenAI trong tài liệu.