
文字生成圖像
根據文字提示詞建立 AI 圖像
使用 ByteDance Seedream 5.5 API 製作商品攝影圖、插畫場景與透明背景圖形。在 Best Image AI 上將創意需求轉為圖片。可選自動、透明或不透明背景,輸出最高 2K 的 PNG 圖片。
立即體驗 AI 圖片生成器
透過 Best Image AI 上的 Seedream 5.5 API,你可以使用字節跳動的文字生圖模型,製作具有攝影質感的影像、文字密集的設計稿,以及可重複使用的透明素材。描述創作需求,選擇畫面比例和解析度,即可產生設計所需的 PNG 圖片。Seedream 5.5 能呈現自然的打光和材質,並原生支援透明效果,適合製作完整場景或獨立的圖像元素。
注意 請使用符合字節跳動安全指南的提示詞。若請求失敗,請先檢查輸入內容和傳回的錯誤訊息,再重新嘗試。
Seedream 5.5 與 Seedream 5.0 Pro
相較於 Seedream 5.0 Pro,Seedream 5.5 提升了影像的寫實感與文字呈現效果,並新增原生 RGBA 生成功能,適合需要結合攝影風格影像、密集文字排版和可重複使用的透明素材的設計流程。
Seedream 5.5 與 ChatGPT Images 2.5 Flare
在 Best Image AI 上,ChatGPT Images 2.5 Flare 可分別設定畫質和解析度。Seedream 5.5 支援選擇背景並輸出 PNG。可依應用程式所需的設定選項挑選模型,並用具代表性的提示詞比較生成效果。
在瀏覽器中探索多種 AI 創作工具,快速完成圖像和影片工作流程,再透過 Best Image AI 可用於正式環境的模型 API 擴展成功創意。Best Image AI 為所有模型提供統一 API 層,讓工作流程的使用和擴展更輕鬆。
const response = await fetch('https://api.flaq.ai/api/v1/image/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'seedream-v5.5',
prompt: 'Editorial fashion portrait, soft window light, muted palette',
resolution: '1.5k',
width: 16,
height: 9,
background: 'auto'
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/image/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.images[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, ));
}
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/image/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'seedream-v5.5',
'prompt': 'Editorial fashion portrait, soft window light, muted palette',
'resolution': '1.5k',
'width': 16,
'height': 9,
'background': 'auto'
}
)
task_id = response.json()['data']['task_id']
curl -X POST https://api.flaq.ai/api/v1/image/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "seedream-v5.5",
"prompt": "Editorial fashion portrait, soft window light, muted palette",
"resolution": "1.5k",
"width": 16,
"height": 9,
"background": "auto"
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/image/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/image/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['images'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)