LarawanxAIBago

Grok Imagine Image

Ekspresibong xAI image generation, 2K na walang karagdagang gastos

model: "grok-imagine-image"

Mga paraan

Isang model id, bawat mode sa ibaba. Ang mga field na ipinapadala mo ay pumipili ng mode, at ang presyo ay sumusunod sa mode.

ParaanPinipili ngTipikal na presyo
Teksto tungo sa larawanprompt
Halimbawang kahilingan
{
  "model": "grok-imagine-image",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.020

Input

Kinakailangan

Prompt

Opsyonal

Aspect Ratio

Opsyonal

Resolution

Mga advanced na opsyon (1)

Mga setting ng provider na higit pa sa pangunahing kontrol. Iwanan silang walang laman upang gamitin ang mga default ng modelo.

Opsyonal

File format of the result.

Resulta

Grok Imagine ImageHalimbawang output

Tunay na resulta mula sa modelong ito. Patakbuhin mo ito upang makita ang sa iyo dito.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-imagine-image",
  "input": {
    "prompt": "Tornado funnel touching down on an empty Nebraska cornfield at golden hour, a ragged rope condensation column backlit by the low sun to a translucent amber, surrounding sky a deep bruised green-violet, wide horizontal cinematic weather drama, rows of flattened corn radiating outward from the contact point, photorealistic atmospheric turbulence, no people, elemental and terrifying scale"
  }
}'
Grok Imagine Image 1Grok Imagine Image 2Grok Imagine Image 3Grok Imagine Image 4Grok Imagine Image 5Grok Imagine Image 6