- サードパーティ
- ゼロデータ保持
Recraft V4.1 Utility Pro は、制作や印刷など幅広い用途向けに 2048px 以上の高解像度画像を生成する汎用モデルです。
| モデル情報 | |
|---|---|
| 利用規約とライセンス | リンク ↗ |
| 詳細情報 | リンク ↗ |
| ゼロデータ保持 | はい |
| 料金 | Cloudflare ダッシュボードで料金を見る ↗ |
const response = await env.AI.run(
'recraft/recraftv4-1-utility-pro',
{
prompt:
'A detailed illustrated map of an imaginary fantasy island with labeled landmarks, mountains, and forests',
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "recraft/recraftv4-1-utility-pro",
"input": {
"prompt": "A detailed illustrated map of an imaginary fantasy island with labeled landmarks, mountains, and forests"
}
}'
{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"image": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/recraft__recraftv4-1-utility-pro/print-ready-illustration.png"
},
"state": "Completed"
}大判アート — 大きなキャンバスの汎用画像です
const response = await env.AI.run(
'recraft/recraftv4-1-utility-pro',
{
prompt:
'A wide panoramic landscape of rolling green hills with a river winding through the valley under a bright blue sky',
size: '2048x2048',
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "recraft/recraftv4-1-utility-pro",
"input": {
"prompt": "A wide panoramic landscape of rolling green hills with a river winding through the valley under a bright blue sky",
"size": "2048x2048"
}
}'
{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"image": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/recraft__recraftv4-1-utility-pro/large-format-art.png"
},
"state": "Completed"
}マーケティング素材 — 色を制御した高解像度のマーケティングビジュアルです
const response = await env.AI.run(
'recraft/recraftv4-1-utility-pro',
{
prompt: 'A clean, modern banner illustration of a smartphone displaying a productivity app',
controls: {
background_color: { rgb: [250, 250, 255] },
colors: [{ rgb: [100, 200, 150] }, { rgb: [20, 20, 60] }],
},
size: '2048x2048',
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "recraft/recraftv4-1-utility-pro",
"input": {
"prompt": "A clean, modern banner illustration of a smartphone displaying a productivity app",
"controls": {
"background_color": {
"rgb": [
250,
250,
255
]
},
"colors": [
{
"rgb": [
100,
200,
150
]
},
{
"rgb": [
20,
20,
60
]
}
]
},
"size": "2048x2048"
}
}'
{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"image": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/recraft__recraftv4-1-utility-pro/marketing-asset.png"
},
"state": "Completed"
}技術図 — 高解像度の技術図またはインフォグラフィックイラストです
const response = await env.AI.run(
'recraft/recraftv4-1-utility-pro',
{
prompt:
'A clean technical diagram showing the layers of a cloud computing architecture with labeled tiers',
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "recraft/recraftv4-1-utility-pro",
"input": {
"prompt": "A clean technical diagram showing the layers of a cloud computing architecture with labeled tiers"
}
}'
{
"gatewayMetadata": {
"keySource": "Unified"
},
"result": {
"image": "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/recraft__recraftv4-1-utility-pro/technical-diagram.png"
},
"state": "Completed"
}prompt
string必須size
stringstyle
stringsubstyle
string▶controls{}
objectimage
string