Playground
Flux Studio Pro
在这个页面里,你可以填写输入、运行 prediction、查看状态和输出,再把同样的调用方式带进自己的产品。
Playground
直接运行这个模型
prediction output
3.1s
产品感很强的首页主视觉
对比度干净、阴影克制,适合直接拿去做 pricing 页、文档页或首页 hero。
2.8s
可直接投放的海报画面
画面会主动留出文案、角标和模型数据叠层空间。
curl
API 示例
curl -s -X POST https://www.founderhooks.com/api/v1/predictions \
-H "Authorization: Bearer $FOUNDERHOOKS_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "black-forest-labs/flux-schnell",
"input": {
"prompt": "Generate a polished product visual for an AI platform homepage"
},
"wait": 10
}'JavaScript
API 示例
const response = await fetch("https://www.founderhooks.com/api/v1/predictions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.FOUNDERHOOKS_API_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "black-forest-labs/flux-schnell",
input: {
"prompt": "Generate a polished product visual for an AI platform homepage"
},
wait: 10,
}),
});
const prediction = await response.json();Python
API 示例
import os
import requests
response = requests.post(
"https://www.founderhooks.com/api/v1/predictions",
headers={
"Authorization": "Bearer " + os.environ["FOUNDERHOOKS_API_TOKEN"],
"Content-Type": "application/json",
},
json={
"model": "black-forest-labs/flux-schnell",
"input": {
"prompt": "Generate a polished product visual for an AI platform homepage"
},
"wait": 10,
},
)
print(response.json())