MODEL IDxai:grok-imagine@image
live

Grok Imagine Image

xAI
by xAI

Grok Imagine Image is a multimodal generative image model that creates high-quality still images from text prompts or image inputs. It supports flexible visual synthesis across a range of styles, enabling developers to generate creative imagery directly from structured prompts or to expand on existing visuals with coherent, detailed outputs.

Grok Imagine Image
text-to-image

Oyster Restoration Panoramic Masthead

Oyster Restoration Panoramic Masthead

Create a finished 1408x768 panoramic editorial photograph for a coastal conservation feature about oyster reef restoration. At the center, a marine ecologist in weathered chest waders and faded coral work gloves kneels in a shallow tidal creek, inspecting a wire reef cage filled with rough oyster shells. Expand the scene naturally across the wide frame: on the left, long rows of shell-filled restoration cages recede through reflective water toward a small aluminum work skiff; on the right, ochre salt-marsh grass, muddy tidal channels, white egrets, and two distant crew members carrying baskets create layered environmental context. Low dawn light beneath an overcast sky, oyster-gray water, muted sage and straw palette, subtle coral accents, soft atmospheric haze, realistic wet textures, restrained documentary color grading, calm purposeful mood. The central action must remain immediately readable while both extended sides contain coherent landscape detail suitable for a wide magazine or nonprofit website masthead. Authentic photojournalism, natural proportions, eye-level 35mm composition, no lettering, no logos, no border, no interface.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'xai:grok-imagine@image',
  positivePrompt: 'Create a finished 1408x768 panoramic editorial photograph for a coastal conservation feature about oyster reef restoration. At the center, a marine ecologist in weathered chest waders and faded coral work gloves kneels in a shallow tidal creek, inspecting a wire reef cage filled with rough oyster shells. Expand the scene naturally across the wide frame: on the left, long rows of shell-filled restoration cages recede through reflective water toward a small aluminum work skiff; on the right, ochre salt-marsh grass, muddy tidal channels, white egrets, and two distant crew members carrying baskets create layered environmental context. Low dawn light beneath an overcast sky, oyster-gray water, muted sage and straw palette, subtle coral accents, soft atmospheric haze, realistic wet textures, restrained documentary color grading, calm purposeful mood. The central action must remain immediately readable while both extended sides contain coherent landscape detail suitable for a wide magazine or nonprofit website masthead. Authentic photojournalism, natural proportions, eye-level 35mm composition, no lettering, no logos, no border, no interface.',
  width: 1408,
  height: 768
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "xai:grok-imagine@image",
            "positivePrompt": "Create a finished 1408x768 panoramic editorial photograph for a coastal conservation feature about oyster reef restoration. At the center, a marine ecologist in weathered chest waders and faded coral work gloves kneels in a shallow tidal creek, inspecting a wire reef cage filled with rough oyster shells. Expand the scene naturally across the wide frame: on the left, long rows of shell-filled restoration cages recede through reflective water toward a small aluminum work skiff; on the right, ochre salt-marsh grass, muddy tidal channels, white egrets, and two distant crew members carrying baskets create layered environmental context. Low dawn light beneath an overcast sky, oyster-gray water, muted sage and straw palette, subtle coral accents, soft atmospheric haze, realistic wet textures, restrained documentary color grading, calm purposeful mood. The central action must remain immediately readable while both extended sides contain coherent landscape detail suitable for a wide magazine or nonprofit website masthead. Authentic photojournalism, natural proportions, eye-level 35mm composition, no lettering, no logos, no border, no interface.",
            "width": 1408,
            "height": 768
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "e8f184df-b99e-428f-b0d9-efcd21b0c237",
      "model": "xai:grok-imagine@image",
      "positivePrompt": "Create a finished 1408x768 panoramic editorial photograph for a coastal conservation feature about oyster reef restoration. At the center, a marine ecologist in weathered chest waders and faded coral work gloves kneels in a shallow tidal creek, inspecting a wire reef cage filled with rough oyster shells. Expand the scene naturally across the wide frame: on the left, long rows of shell-filled restoration cages recede through reflective water toward a small aluminum work skiff; on the right, ochre salt-marsh grass, muddy tidal channels, white egrets, and two distant crew members carrying baskets create layered environmental context. Low dawn light beneath an overcast sky, oyster-gray water, muted sage and straw palette, subtle coral accents, soft atmospheric haze, realistic wet textures, restrained documentary color grading, calm purposeful mood. The central action must remain immediately readable while both extended sides contain coherent landscape detail suitable for a wide magazine or nonprofit website masthead. Authentic photojournalism, natural proportions, eye-level 35mm composition, no lettering, no logos, no border, no interface.",
      "width": 1408,
      "height": 768
    }
  ]'
runware run xai:grok-imagine@image \
  positivePrompt="Create a finished 1408x768 panoramic editorial photograph for a coastal conservation feature about oyster reef restoration. At the center, a marine ecologist in weathered chest waders and faded coral work gloves kneels in a shallow tidal creek, inspecting a wire reef cage filled with rough oyster shells. Expand the scene naturally across the wide frame: on the left, long rows of shell-filled restoration cages recede through reflective water toward a small aluminum work skiff; on the right, ochre salt-marsh grass, muddy tidal channels, white egrets, and two distant crew members carrying baskets create layered environmental context. Low dawn light beneath an overcast sky, oyster-gray water, muted sage and straw palette, subtle coral accents, soft atmospheric haze, realistic wet textures, restrained documentary color grading, calm purposeful mood. The central action must remain immediately readable while both extended sides contain coherent landscape detail suitable for a wide magazine or nonprofit website masthead. Authentic photojournalism, natural proportions, eye-level 35mm composition, no lettering, no logos, no border, no interface." \
  width=1408 \
  height=768
{
  "taskType": "imageInference",
  "taskUUID": "e8f184df-b99e-428f-b0d9-efcd21b0c237",
  "model": "xai:grok-imagine@image",
  "positivePrompt": "Create a finished 1408x768 panoramic editorial photograph for a coastal conservation feature about oyster reef restoration. At the center, a marine ecologist in weathered chest waders and faded coral work gloves kneels in a shallow tidal creek, inspecting a wire reef cage filled with rough oyster shells. Expand the scene naturally across the wide frame: on the left, long rows of shell-filled restoration cages recede through reflective water toward a small aluminum work skiff; on the right, ochre salt-marsh grass, muddy tidal channels, white egrets, and two distant crew members carrying baskets create layered environmental context. Low dawn light beneath an overcast sky, oyster-gray water, muted sage and straw palette, subtle coral accents, soft atmospheric haze, realistic wet textures, restrained documentary color grading, calm purposeful mood. The central action must remain immediately readable while both extended sides contain coherent landscape detail suitable for a wide magazine or nonprofit website masthead. Authentic photojournalism, natural proportions, eye-level 35mm composition, no lettering, no logos, no border, no interface.",
  "width": 1408,
  "height": 768
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "e8f184df-b99e-428f-b0d9-efcd21b0c237",
  "imageUUID": "6d67c5c6-2785-4579-b8a5-c3139017210a",
  "imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/3/ii/6d67c5c6-2785-4579-b8a5-c3139017210a.jpg",
  "seed": 1419538794,
  "cost": 0.02
}
text-to-image

Arctic Airlift Strategy Key Art

Arctic Airlift Strategy Key Art

Finished cinematic key art for a premium survival logistics strategy game set in the 1970s high Arctic. A weathered orange-and-cream four-engine propeller cargo plane sits diagonally across a windswept ice runway, its rear hold open as a bundled ground crew unloads wooden crates, fuel drums, a compact tracked snow vehicle, and a portable radio mast. In the foreground, the station leader in a red parka braces against the gale while holding a paper manifest; behind her, technicians pull a supply sled toward a small cluster of utilitarian research huts half-buried in snow. A vast approaching wall of spindrift and slate-gray storm clouds dominates the right side, while low amber polar sunlight breaks beneath the clouds on the left, catching the aircraft, blowing snow, and long runway markers. Strong readable silhouettes, purposeful human activity, sweeping diagonal composition, immense sense of scale and isolation. Sophisticated hand-painted editorial realism with subtle screen-printed texture, restrained palette of glacier blue, warm ivory, safety orange, rust red, and charcoal, grounded period-authentic equipment, tense but determined mood, polished commercial game key art, clear visual hierarchy, no lettering, no logo, no interface, no border

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'xai:grok-imagine@image',
  positivePrompt: 'Finished cinematic key art for a premium survival logistics strategy game set in the 1970s high Arctic. A weathered orange-and-cream four-engine propeller cargo plane sits diagonally across a windswept ice runway, its rear hold open as a bundled ground crew unloads wooden crates, fuel drums, a compact tracked snow vehicle, and a portable radio mast. In the foreground, the station leader in a red parka braces against the gale while holding a paper manifest; behind her, technicians pull a supply sled toward a small cluster of utilitarian research huts half-buried in snow. A vast approaching wall of spindrift and slate-gray storm clouds dominates the right side, while low amber polar sunlight breaks beneath the clouds on the left, catching the aircraft, blowing snow, and long runway markers. Strong readable silhouettes, purposeful human activity, sweeping diagonal composition, immense sense of scale and isolation. Sophisticated hand-painted editorial realism with subtle screen-printed texture, restrained palette of glacier blue, warm ivory, safety orange, rust red, and charcoal, grounded period-authentic equipment, tense but determined mood, polished commercial game key art, clear visual hierarchy, no lettering, no logo, no interface, no border',
  width: 1408,
  height: 768
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "xai:grok-imagine@image",
            "positivePrompt": "Finished cinematic key art for a premium survival logistics strategy game set in the 1970s high Arctic. A weathered orange-and-cream four-engine propeller cargo plane sits diagonally across a windswept ice runway, its rear hold open as a bundled ground crew unloads wooden crates, fuel drums, a compact tracked snow vehicle, and a portable radio mast. In the foreground, the station leader in a red parka braces against the gale while holding a paper manifest; behind her, technicians pull a supply sled toward a small cluster of utilitarian research huts half-buried in snow. A vast approaching wall of spindrift and slate-gray storm clouds dominates the right side, while low amber polar sunlight breaks beneath the clouds on the left, catching the aircraft, blowing snow, and long runway markers. Strong readable silhouettes, purposeful human activity, sweeping diagonal composition, immense sense of scale and isolation. Sophisticated hand-painted editorial realism with subtle screen-printed texture, restrained palette of glacier blue, warm ivory, safety orange, rust red, and charcoal, grounded period-authentic equipment, tense but determined mood, polished commercial game key art, clear visual hierarchy, no lettering, no logo, no interface, no border",
            "width": 1408,
            "height": 768
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "57dbc1d3-ff98-40e7-ae35-496c1bc58623",
      "model": "xai:grok-imagine@image",
      "positivePrompt": "Finished cinematic key art for a premium survival logistics strategy game set in the 1970s high Arctic. A weathered orange-and-cream four-engine propeller cargo plane sits diagonally across a windswept ice runway, its rear hold open as a bundled ground crew unloads wooden crates, fuel drums, a compact tracked snow vehicle, and a portable radio mast. In the foreground, the station leader in a red parka braces against the gale while holding a paper manifest; behind her, technicians pull a supply sled toward a small cluster of utilitarian research huts half-buried in snow. A vast approaching wall of spindrift and slate-gray storm clouds dominates the right side, while low amber polar sunlight breaks beneath the clouds on the left, catching the aircraft, blowing snow, and long runway markers. Strong readable silhouettes, purposeful human activity, sweeping diagonal composition, immense sense of scale and isolation. Sophisticated hand-painted editorial realism with subtle screen-printed texture, restrained palette of glacier blue, warm ivory, safety orange, rust red, and charcoal, grounded period-authentic equipment, tense but determined mood, polished commercial game key art, clear visual hierarchy, no lettering, no logo, no interface, no border",
      "width": 1408,
      "height": 768
    }
  ]'
runware run xai:grok-imagine@image \
  positivePrompt="Finished cinematic key art for a premium survival logistics strategy game set in the 1970s high Arctic. A weathered orange-and-cream four-engine propeller cargo plane sits diagonally across a windswept ice runway, its rear hold open as a bundled ground crew unloads wooden crates, fuel drums, a compact tracked snow vehicle, and a portable radio mast. In the foreground, the station leader in a red parka braces against the gale while holding a paper manifest; behind her, technicians pull a supply sled toward a small cluster of utilitarian research huts half-buried in snow. A vast approaching wall of spindrift and slate-gray storm clouds dominates the right side, while low amber polar sunlight breaks beneath the clouds on the left, catching the aircraft, blowing snow, and long runway markers. Strong readable silhouettes, purposeful human activity, sweeping diagonal composition, immense sense of scale and isolation. Sophisticated hand-painted editorial realism with subtle screen-printed texture, restrained palette of glacier blue, warm ivory, safety orange, rust red, and charcoal, grounded period-authentic equipment, tense but determined mood, polished commercial game key art, clear visual hierarchy, no lettering, no logo, no interface, no border" \
  width=1408 \
  height=768
{
  "taskType": "imageInference",
  "taskUUID": "57dbc1d3-ff98-40e7-ae35-496c1bc58623",
  "model": "xai:grok-imagine@image",
  "positivePrompt": "Finished cinematic key art for a premium survival logistics strategy game set in the 1970s high Arctic. A weathered orange-and-cream four-engine propeller cargo plane sits diagonally across a windswept ice runway, its rear hold open as a bundled ground crew unloads wooden crates, fuel drums, a compact tracked snow vehicle, and a portable radio mast. In the foreground, the station leader in a red parka braces against the gale while holding a paper manifest; behind her, technicians pull a supply sled toward a small cluster of utilitarian research huts half-buried in snow. A vast approaching wall of spindrift and slate-gray storm clouds dominates the right side, while low amber polar sunlight breaks beneath the clouds on the left, catching the aircraft, blowing snow, and long runway markers. Strong readable silhouettes, purposeful human activity, sweeping diagonal composition, immense sense of scale and isolation. Sophisticated hand-painted editorial realism with subtle screen-printed texture, restrained palette of glacier blue, warm ivory, safety orange, rust red, and charcoal, grounded period-authentic equipment, tense but determined mood, polished commercial game key art, clear visual hierarchy, no lettering, no logo, no interface, no border",
  "width": 1408,
  "height": 768
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "57dbc1d3-ff98-40e7-ae35-496c1bc58623",
  "imageUUID": "14de493d-2555-4b7a-8c91-a5d0ac89288e",
  "imageURL": "https://im.runware.ai/image/os/a03d21/ws/3/ii/14de493d-2555-4b7a-8c91-a5d0ac89288e.jpg",
  "seed": 23341718,
  "cost": 0.02
}
reference-to-image

Period Telephone Thriller Poster

Period Telephone Thriller Poster

Create a finished vertical one-sheet poster for a prestige 1960s conspiracy streaming series titled "PARTY LINE". Use reference image 1 to establish the lead character’s recognizable face, dark bobbed hair, mustard blouse, brown vest, guarded expression, and period headset. Use reference image 2 to inform the authentic switchboard architecture, brass sockets, indicator lights, desks, and tangled patch cords. Do not simply reproduce either reference: combine them into a bold, coherent mid-century editorial poster composition. Place the operator as a large centered bust, staring just past the viewer as if she has overheard something dangerous. Merge the switchboard into the shadow behind her; its patch cords radiate around her head and converge into a taut web across the lower half, with one vivid red cord subtly forming a noose-like loop. Render the scene as sophisticated 1960s offset-lithograph key art with simplified geometric shapes, coarse halftone grain, slightly imperfect ink registration, crisp facial planes, and restrained screen-printed texture. Limited palette of aged cream, tobacco brown, mustard yellow, oxblood red, and dense charcoal black. Flat dramatic lighting, high contrast, tense and intelligent mood, no neon, no futuristic technology, no photorealistic collage edges. Reserve clean negative space at the top. Set the exact title "PARTY LINE" prominently at the top in large condensed cream sans-serif lettering with subtle letterpress distress. Add only the small line "A LIMITED SERIES" beneath it; no other legible text, no logos, no interface, no poster mockup, no border. Polished award-season streaming key art composed for a vertical 1K poster.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'xai:grok-imagine@image',
  positivePrompt: 'Create a finished vertical one-sheet poster for a prestige 1960s conspiracy streaming series titled "PARTY LINE". Use reference image 1 to establish the lead character’s recognizable face, dark bobbed hair, mustard blouse, brown vest, guarded expression, and period headset. Use reference image 2 to inform the authentic switchboard architecture, brass sockets, indicator lights, desks, and tangled patch cords. Do not simply reproduce either reference: combine them into a bold, coherent mid-century editorial poster composition. Place the operator as a large centered bust, staring just past the viewer as if she has overheard something dangerous. Merge the switchboard into the shadow behind her; its patch cords radiate around her head and converge into a taut web across the lower half, with one vivid red cord subtly forming a noose-like loop. Render the scene as sophisticated 1960s offset-lithograph key art with simplified geometric shapes, coarse halftone grain, slightly imperfect ink registration, crisp facial planes, and restrained screen-printed texture. Limited palette of aged cream, tobacco brown, mustard yellow, oxblood red, and dense charcoal black. Flat dramatic lighting, high contrast, tense and intelligent mood, no neon, no futuristic technology, no photorealistic collage edges. Reserve clean negative space at the top. Set the exact title "PARTY LINE" prominently at the top in large condensed cream sans-serif lettering with subtle letterpress distress. Add only the small line "A LIMITED SERIES" beneath it; no other legible text, no logos, no interface, no poster mockup, no border. Polished award-season streaming key art composed for a vertical 1K poster.',
  resolution: '1K',
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/c89b145c-4868-4622-9310-d01067e526e5.jpg',
      'https://assets.runware.ai/assets/inputs/1b914216-7157-49bb-87a4-49cfae60a79c.jpg'
    ]
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "xai:grok-imagine@image",
            "positivePrompt": "Create a finished vertical one-sheet poster for a prestige 1960s conspiracy streaming series titled \"PARTY LINE\". Use reference image 1 to establish the lead character’s recognizable face, dark bobbed hair, mustard blouse, brown vest, guarded expression, and period headset. Use reference image 2 to inform the authentic switchboard architecture, brass sockets, indicator lights, desks, and tangled patch cords. Do not simply reproduce either reference: combine them into a bold, coherent mid-century editorial poster composition. Place the operator as a large centered bust, staring just past the viewer as if she has overheard something dangerous. Merge the switchboard into the shadow behind her; its patch cords radiate around her head and converge into a taut web across the lower half, with one vivid red cord subtly forming a noose-like loop. Render the scene as sophisticated 1960s offset-lithograph key art with simplified geometric shapes, coarse halftone grain, slightly imperfect ink registration, crisp facial planes, and restrained screen-printed texture. Limited palette of aged cream, tobacco brown, mustard yellow, oxblood red, and dense charcoal black. Flat dramatic lighting, high contrast, tense and intelligent mood, no neon, no futuristic technology, no photorealistic collage edges. Reserve clean negative space at the top. Set the exact title \"PARTY LINE\" prominently at the top in large condensed cream sans-serif lettering with subtle letterpress distress. Add only the small line \"A LIMITED SERIES\" beneath it; no other legible text, no logos, no interface, no poster mockup, no border. Polished award-season streaming key art composed for a vertical 1K poster.",
            "resolution": "1K",
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/c89b145c-4868-4622-9310-d01067e526e5.jpg",
                    "https://assets.runware.ai/assets/inputs/1b914216-7157-49bb-87a4-49cfae60a79c.jpg"
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "ed1c603b-f404-46ac-b407-a1f0cdc3ae64",
      "model": "xai:grok-imagine@image",
      "positivePrompt": "Create a finished vertical one-sheet poster for a prestige 1960s conspiracy streaming series titled \"PARTY LINE\". Use reference image 1 to establish the lead character’s recognizable face, dark bobbed hair, mustard blouse, brown vest, guarded expression, and period headset. Use reference image 2 to inform the authentic switchboard architecture, brass sockets, indicator lights, desks, and tangled patch cords. Do not simply reproduce either reference: combine them into a bold, coherent mid-century editorial poster composition. Place the operator as a large centered bust, staring just past the viewer as if she has overheard something dangerous. Merge the switchboard into the shadow behind her; its patch cords radiate around her head and converge into a taut web across the lower half, with one vivid red cord subtly forming a noose-like loop. Render the scene as sophisticated 1960s offset-lithograph key art with simplified geometric shapes, coarse halftone grain, slightly imperfect ink registration, crisp facial planes, and restrained screen-printed texture. Limited palette of aged cream, tobacco brown, mustard yellow, oxblood red, and dense charcoal black. Flat dramatic lighting, high contrast, tense and intelligent mood, no neon, no futuristic technology, no photorealistic collage edges. Reserve clean negative space at the top. Set the exact title \"PARTY LINE\" prominently at the top in large condensed cream sans-serif lettering with subtle letterpress distress. Add only the small line \"A LIMITED SERIES\" beneath it; no other legible text, no logos, no interface, no poster mockup, no border. Polished award-season streaming key art composed for a vertical 1K poster.",
      "resolution": "1K",
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/c89b145c-4868-4622-9310-d01067e526e5.jpg",
          "https://assets.runware.ai/assets/inputs/1b914216-7157-49bb-87a4-49cfae60a79c.jpg"
        ]
      }
    }
  ]'
runware run xai:grok-imagine@image \
  positivePrompt="Create a finished vertical one-sheet poster for a prestige 1960s conspiracy streaming series titled \"PARTY LINE\". Use reference image 1 to establish the lead character’s recognizable face, dark bobbed hair, mustard blouse, brown vest, guarded expression, and period headset. Use reference image 2 to inform the authentic switchboard architecture, brass sockets, indicator lights, desks, and tangled patch cords. Do not simply reproduce either reference: combine them into a bold, coherent mid-century editorial poster composition. Place the operator as a large centered bust, staring just past the viewer as if she has overheard something dangerous. Merge the switchboard into the shadow behind her; its patch cords radiate around her head and converge into a taut web across the lower half, with one vivid red cord subtly forming a noose-like loop. Render the scene as sophisticated 1960s offset-lithograph key art with simplified geometric shapes, coarse halftone grain, slightly imperfect ink registration, crisp facial planes, and restrained screen-printed texture. Limited palette of aged cream, tobacco brown, mustard yellow, oxblood red, and dense charcoal black. Flat dramatic lighting, high contrast, tense and intelligent mood, no neon, no futuristic technology, no photorealistic collage edges. Reserve clean negative space at the top. Set the exact title \"PARTY LINE\" prominently at the top in large condensed cream sans-serif lettering with subtle letterpress distress. Add only the small line \"A LIMITED SERIES\" beneath it; no other legible text, no logos, no interface, no poster mockup, no border. Polished award-season streaming key art composed for a vertical 1K poster." \
  resolution=1K \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/c89b145c-4868-4622-9310-d01067e526e5.jpg \
  inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/1b914216-7157-49bb-87a4-49cfae60a79c.jpg
{
  "taskType": "imageInference",
  "taskUUID": "ed1c603b-f404-46ac-b407-a1f0cdc3ae64",
  "model": "xai:grok-imagine@image",
  "positivePrompt": "Create a finished vertical one-sheet poster for a prestige 1960s conspiracy streaming series titled \"PARTY LINE\". Use reference image 1 to establish the lead character’s recognizable face, dark bobbed hair, mustard blouse, brown vest, guarded expression, and period headset. Use reference image 2 to inform the authentic switchboard architecture, brass sockets, indicator lights, desks, and tangled patch cords. Do not simply reproduce either reference: combine them into a bold, coherent mid-century editorial poster composition. Place the operator as a large centered bust, staring just past the viewer as if she has overheard something dangerous. Merge the switchboard into the shadow behind her; its patch cords radiate around her head and converge into a taut web across the lower half, with one vivid red cord subtly forming a noose-like loop. Render the scene as sophisticated 1960s offset-lithograph key art with simplified geometric shapes, coarse halftone grain, slightly imperfect ink registration, crisp facial planes, and restrained screen-printed texture. Limited palette of aged cream, tobacco brown, mustard yellow, oxblood red, and dense charcoal black. Flat dramatic lighting, high contrast, tense and intelligent mood, no neon, no futuristic technology, no photorealistic collage edges. Reserve clean negative space at the top. Set the exact title \"PARTY LINE\" prominently at the top in large condensed cream sans-serif lettering with subtle letterpress distress. Add only the small line \"A LIMITED SERIES\" beneath it; no other legible text, no logos, no interface, no poster mockup, no border. Polished award-season streaming key art composed for a vertical 1K poster.",
  "resolution": "1K",
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/c89b145c-4868-4622-9310-d01067e526e5.jpg",
      "https://assets.runware.ai/assets/inputs/1b914216-7157-49bb-87a4-49cfae60a79c.jpg"
    ]
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "ed1c603b-f404-46ac-b407-a1f0cdc3ae64",
  "imageUUID": "7184fa03-4b8b-47be-8552-125b0f03c0ed",
  "imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/3/ii/7184fa03-4b8b-47be-8552-125b0f03c0ed.jpg",
  "seed": 913331230,
  "cost": 0.022
}
reference-to-image

Heritage Hotel Facade Cleanup

Heritage Hotel Facade Cleanup

Produce one finished, photorealistic landscape architectural marketing photograph. Treat reference image 1 as the base image and preserve its exact building proportions, camera position, perspective, crop, upper floors, window arrangement, overcast illumination, and restrained neutral color. Remove the blue construction lift, fencing, orange barriers, protective sheeting, loose cables, debris, and all other temporary renovation clutter. Use reference image 2 as the authoritative visual guide to reconstruct only the areas that were hidden: matching carved limestone pilasters, dark bronze entrance doors, patterned transom glass, rust-red awnings, brass lanterns, facade joints, and pale stone pavement. Blend the generative fill seamlessly with consistent texture, weathering, reflections, shadows, and lens perspective. Keep the street calm and empty, with no workers, vehicles, added signage, invented lettering, or redesign of the architecture. Premium but natural hospitality property photography with meticulous invisible retouching.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'xai:grok-imagine@image',
  positivePrompt: 'Produce one finished, photorealistic landscape architectural marketing photograph. Treat reference image 1 as the base image and preserve its exact building proportions, camera position, perspective, crop, upper floors, window arrangement, overcast illumination, and restrained neutral color. Remove the blue construction lift, fencing, orange barriers, protective sheeting, loose cables, debris, and all other temporary renovation clutter. Use reference image 2 as the authoritative visual guide to reconstruct only the areas that were hidden: matching carved limestone pilasters, dark bronze entrance doors, patterned transom glass, rust-red awnings, brass lanterns, facade joints, and pale stone pavement. Blend the generative fill seamlessly with consistent texture, weathering, reflections, shadows, and lens perspective. Keep the street calm and empty, with no workers, vehicles, added signage, invented lettering, or redesign of the architecture. Premium but natural hospitality property photography with meticulous invisible retouching.',
  resolution: '1K',
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/219a77e0-fd68-4b91-9c91-bdbc45a2cc6c.jpg',
      'https://assets.runware.ai/assets/inputs/6ea2d67a-b217-449c-9af6-2f95fb47a5f1.jpg'
    ]
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "xai:grok-imagine@image",
            "positivePrompt": "Produce one finished, photorealistic landscape architectural marketing photograph. Treat reference image 1 as the base image and preserve its exact building proportions, camera position, perspective, crop, upper floors, window arrangement, overcast illumination, and restrained neutral color. Remove the blue construction lift, fencing, orange barriers, protective sheeting, loose cables, debris, and all other temporary renovation clutter. Use reference image 2 as the authoritative visual guide to reconstruct only the areas that were hidden: matching carved limestone pilasters, dark bronze entrance doors, patterned transom glass, rust-red awnings, brass lanterns, facade joints, and pale stone pavement. Blend the generative fill seamlessly with consistent texture, weathering, reflections, shadows, and lens perspective. Keep the street calm and empty, with no workers, vehicles, added signage, invented lettering, or redesign of the architecture. Premium but natural hospitality property photography with meticulous invisible retouching.",
            "resolution": "1K",
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/219a77e0-fd68-4b91-9c91-bdbc45a2cc6c.jpg",
                    "https://assets.runware.ai/assets/inputs/6ea2d67a-b217-449c-9af6-2f95fb47a5f1.jpg"
                ]
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "47cb2152-420e-44bb-859f-a785a6fae34e",
      "model": "xai:grok-imagine@image",
      "positivePrompt": "Produce one finished, photorealistic landscape architectural marketing photograph. Treat reference image 1 as the base image and preserve its exact building proportions, camera position, perspective, crop, upper floors, window arrangement, overcast illumination, and restrained neutral color. Remove the blue construction lift, fencing, orange barriers, protective sheeting, loose cables, debris, and all other temporary renovation clutter. Use reference image 2 as the authoritative visual guide to reconstruct only the areas that were hidden: matching carved limestone pilasters, dark bronze entrance doors, patterned transom glass, rust-red awnings, brass lanterns, facade joints, and pale stone pavement. Blend the generative fill seamlessly with consistent texture, weathering, reflections, shadows, and lens perspective. Keep the street calm and empty, with no workers, vehicles, added signage, invented lettering, or redesign of the architecture. Premium but natural hospitality property photography with meticulous invisible retouching.",
      "resolution": "1K",
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/219a77e0-fd68-4b91-9c91-bdbc45a2cc6c.jpg",
          "https://assets.runware.ai/assets/inputs/6ea2d67a-b217-449c-9af6-2f95fb47a5f1.jpg"
        ]
      }
    }
  ]'
runware run xai:grok-imagine@image \
  positivePrompt="Produce one finished, photorealistic landscape architectural marketing photograph. Treat reference image 1 as the base image and preserve its exact building proportions, camera position, perspective, crop, upper floors, window arrangement, overcast illumination, and restrained neutral color. Remove the blue construction lift, fencing, orange barriers, protective sheeting, loose cables, debris, and all other temporary renovation clutter. Use reference image 2 as the authoritative visual guide to reconstruct only the areas that were hidden: matching carved limestone pilasters, dark bronze entrance doors, patterned transom glass, rust-red awnings, brass lanterns, facade joints, and pale stone pavement. Blend the generative fill seamlessly with consistent texture, weathering, reflections, shadows, and lens perspective. Keep the street calm and empty, with no workers, vehicles, added signage, invented lettering, or redesign of the architecture. Premium but natural hospitality property photography with meticulous invisible retouching." \
  resolution=1K \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/219a77e0-fd68-4b91-9c91-bdbc45a2cc6c.jpg \
  inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/6ea2d67a-b217-449c-9af6-2f95fb47a5f1.jpg
{
  "taskType": "imageInference",
  "taskUUID": "47cb2152-420e-44bb-859f-a785a6fae34e",
  "model": "xai:grok-imagine@image",
  "positivePrompt": "Produce one finished, photorealistic landscape architectural marketing photograph. Treat reference image 1 as the base image and preserve its exact building proportions, camera position, perspective, crop, upper floors, window arrangement, overcast illumination, and restrained neutral color. Remove the blue construction lift, fencing, orange barriers, protective sheeting, loose cables, debris, and all other temporary renovation clutter. Use reference image 2 as the authoritative visual guide to reconstruct only the areas that were hidden: matching carved limestone pilasters, dark bronze entrance doors, patterned transom glass, rust-red awnings, brass lanterns, facade joints, and pale stone pavement. Blend the generative fill seamlessly with consistent texture, weathering, reflections, shadows, and lens perspective. Keep the street calm and empty, with no workers, vehicles, added signage, invented lettering, or redesign of the architecture. Premium but natural hospitality property photography with meticulous invisible retouching.",
  "resolution": "1K",
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/219a77e0-fd68-4b91-9c91-bdbc45a2cc6c.jpg",
      "https://assets.runware.ai/assets/inputs/6ea2d67a-b217-449c-9af6-2f95fb47a5f1.jpg"
    ]
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "47cb2152-420e-44bb-859f-a785a6fae34e",
  "imageUUID": "3fcb6157-0250-4c69-a402-9c1698f4f226",
  "imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/3/ii/3fcb6157-0250-4c69-a402-9c1698f4f226.jpg",
  "seed": 187440565,
  "cost": 0.022
}
Text to Image

Neon Rain Alley Portrait

Neon Rain Alley Portrait

A cinematic cyberpunk portrait of a lone courier կանգing in a narrow neon-lit alley at night, reflective rain-slick pavement, holographic shop signs in magenta and teal, soft mist drifting through the scene, detailed futuristic streetwear with glowing trim, subtle facial scars, confident expression, dramatic rim lighting, shallow depth of field, ultra-detailed textures, moody atmosphere, high contrast, realistic skin tones, premium editorial photography style

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'xai:grok-imagine@image',
  positivePrompt: 'A cinematic cyberpunk portrait of a lone courier կանգing in a narrow neon-lit alley at night, reflective rain-slick pavement, holographic shop signs in magenta and teal, soft mist drifting through the scene, detailed futuristic streetwear with glowing trim, subtle facial scars, confident expression, dramatic rim lighting, shallow depth of field, ultra-detailed textures, moody atmosphere, high contrast, realistic skin tones, premium editorial photography style',
  width: 1280,
  height: 896
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "xai:grok-imagine@image",
            "positivePrompt": "A cinematic cyberpunk portrait of a lone courier կանգing in a narrow neon-lit alley at night, reflective rain-slick pavement, holographic shop signs in magenta and teal, soft mist drifting through the scene, detailed futuristic streetwear with glowing trim, subtle facial scars, confident expression, dramatic rim lighting, shallow depth of field, ultra-detailed textures, moody atmosphere, high contrast, realistic skin tones, premium editorial photography style",
            "width": 1280,
            "height": 896
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "55864462-dfd9-4374-9f69-7273f230e732",
      "model": "xai:grok-imagine@image",
      "positivePrompt": "A cinematic cyberpunk portrait of a lone courier կանգing in a narrow neon-lit alley at night, reflective rain-slick pavement, holographic shop signs in magenta and teal, soft mist drifting through the scene, detailed futuristic streetwear with glowing trim, subtle facial scars, confident expression, dramatic rim lighting, shallow depth of field, ultra-detailed textures, moody atmosphere, high contrast, realistic skin tones, premium editorial photography style",
      "width": 1280,
      "height": 896
    }
  ]'
runware run xai:grok-imagine@image \
  positivePrompt="A cinematic cyberpunk portrait of a lone courier կանգing in a narrow neon-lit alley at night, reflective rain-slick pavement, holographic shop signs in magenta and teal, soft mist drifting through the scene, detailed futuristic streetwear with glowing trim, subtle facial scars, confident expression, dramatic rim lighting, shallow depth of field, ultra-detailed textures, moody atmosphere, high contrast, realistic skin tones, premium editorial photography style" \
  width=1280 \
  height=896
{
  "taskType": "imageInference",
  "taskUUID": "55864462-dfd9-4374-9f69-7273f230e732",
  "model": "xai:grok-imagine@image",
  "positivePrompt": "A cinematic cyberpunk portrait of a lone courier կանգing in a narrow neon-lit alley at night, reflective rain-slick pavement, holographic shop signs in magenta and teal, soft mist drifting through the scene, detailed futuristic streetwear with glowing trim, subtle facial scars, confident expression, dramatic rim lighting, shallow depth of field, ultra-detailed textures, moody atmosphere, high contrast, realistic skin tones, premium editorial photography style",
  "width": 1280,
  "height": 896
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "55864462-dfd9-4374-9f69-7273f230e732",
  "imageUUID": "67c804a9-b608-49e7-a18d-2256f627deca",
  "imageURL": "https://im.runware.ai/image/os/a24d12/ws/2/ii/67c804a9-b608-49e7-a18d-2256f627deca.jpg",
  "seed": 1258361433,
  "cost": 0.02
}
Text to Image

Neon Samurai Portrait

Neon Samurai Portrait

A striking portrait of a futuristic samurai standing in light rain beneath glowing neon signs, lacquered black armor with subtle holographic accents, a translucent visor, detailed katana hilt, drifting mist, reflections on wet pavement, cinematic rim lighting, rich magenta and cyan color palette, ultra-detailed face, atmospheric depth, high-contrast composition, premium editorial sci-fi artwork

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'xai:grok-imagine@image',
  positivePrompt: 'A striking portrait of a futuristic samurai standing in light rain beneath glowing neon signs, lacquered black armor with subtle holographic accents, a translucent visor, detailed katana hilt, drifting mist, reflections on wet pavement, cinematic rim lighting, rich magenta and cyan color palette, ultra-detailed face, atmospheric depth, high-contrast composition, premium editorial sci-fi artwork',
  width: 1024,
  height: 1024
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "xai:grok-imagine@image",
            "positivePrompt": "A striking portrait of a futuristic samurai standing in light rain beneath glowing neon signs, lacquered black armor with subtle holographic accents, a translucent visor, detailed katana hilt, drifting mist, reflections on wet pavement, cinematic rim lighting, rich magenta and cyan color palette, ultra-detailed face, atmospheric depth, high-contrast composition, premium editorial sci-fi artwork",
            "width": 1024,
            "height": 1024
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "6232cbbe-e77d-415b-8f53-410b8d1acd40",
      "model": "xai:grok-imagine@image",
      "positivePrompt": "A striking portrait of a futuristic samurai standing in light rain beneath glowing neon signs, lacquered black armor with subtle holographic accents, a translucent visor, detailed katana hilt, drifting mist, reflections on wet pavement, cinematic rim lighting, rich magenta and cyan color palette, ultra-detailed face, atmospheric depth, high-contrast composition, premium editorial sci-fi artwork",
      "width": 1024,
      "height": 1024
    }
  ]'
runware run xai:grok-imagine@image \
  positivePrompt="A striking portrait of a futuristic samurai standing in light rain beneath glowing neon signs, lacquered black armor with subtle holographic accents, a translucent visor, detailed katana hilt, drifting mist, reflections on wet pavement, cinematic rim lighting, rich magenta and cyan color palette, ultra-detailed face, atmospheric depth, high-contrast composition, premium editorial sci-fi artwork" \
  width=1024 \
  height=1024
{
  "taskType": "imageInference",
  "taskUUID": "6232cbbe-e77d-415b-8f53-410b8d1acd40",
  "model": "xai:grok-imagine@image",
  "positivePrompt": "A striking portrait of a futuristic samurai standing in light rain beneath glowing neon signs, lacquered black armor with subtle holographic accents, a translucent visor, detailed katana hilt, drifting mist, reflections on wet pavement, cinematic rim lighting, rich magenta and cyan color palette, ultra-detailed face, atmospheric depth, high-contrast composition, premium editorial sci-fi artwork",
  "width": 1024,
  "height": 1024
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "6232cbbe-e77d-415b-8f53-410b8d1acd40",
  "imageUUID": "f8b088f0-445f-4599-a07d-5281aa2a4516",
  "imageURL": "https://im.runware.ai/image/os/a11d13/ws/2/ii/f8b088f0-445f-4599-a07d-5281aa2a4516.jpg",
  "seed": 2109460328,
  "cost": 0.02
}
Text to Image

Surreal Bioluminescent Forest

Surreal Bioluminescent Forest

A surreal bioluminescent forest at twilight, towering crystalline trees glowing with teal and violet light, floating pollen-like sparks, a glassy stream reflecting luminous mushrooms and enormous fern leaves, a lone traveler in a weathered cloak կանգ on a moss-covered stone bridge, cinematic atmosphere, volumetric fog, ultra-detailed fantasy concept art, dramatic composition, rich textures, ethereal color palette, high contrast, sharp focus

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'xai:grok-imagine@image',
  positivePrompt: 'A surreal bioluminescent forest at twilight, towering crystalline trees glowing with teal and violet light, floating pollen-like sparks, a glassy stream reflecting luminous mushrooms and enormous fern leaves, a lone traveler in a weathered cloak կանգ on a moss-covered stone bridge, cinematic atmosphere, volumetric fog, ultra-detailed fantasy concept art, dramatic composition, rich textures, ethereal color palette, high contrast, sharp focus',
  width: 1280,
  height: 896
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "xai:grok-imagine@image",
            "positivePrompt": "A surreal bioluminescent forest at twilight, towering crystalline trees glowing with teal and violet light, floating pollen-like sparks, a glassy stream reflecting luminous mushrooms and enormous fern leaves, a lone traveler in a weathered cloak կանգ on a moss-covered stone bridge, cinematic atmosphere, volumetric fog, ultra-detailed fantasy concept art, dramatic composition, rich textures, ethereal color palette, high contrast, sharp focus",
            "width": 1280,
            "height": 896
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "12228d65-c7e2-4b7c-959b-624762395b63",
      "model": "xai:grok-imagine@image",
      "positivePrompt": "A surreal bioluminescent forest at twilight, towering crystalline trees glowing with teal and violet light, floating pollen-like sparks, a glassy stream reflecting luminous mushrooms and enormous fern leaves, a lone traveler in a weathered cloak կանգ on a moss-covered stone bridge, cinematic atmosphere, volumetric fog, ultra-detailed fantasy concept art, dramatic composition, rich textures, ethereal color palette, high contrast, sharp focus",
      "width": 1280,
      "height": 896
    }
  ]'
runware run xai:grok-imagine@image \
  positivePrompt="A surreal bioluminescent forest at twilight, towering crystalline trees glowing with teal and violet light, floating pollen-like sparks, a glassy stream reflecting luminous mushrooms and enormous fern leaves, a lone traveler in a weathered cloak կանգ on a moss-covered stone bridge, cinematic atmosphere, volumetric fog, ultra-detailed fantasy concept art, dramatic composition, rich textures, ethereal color palette, high contrast, sharp focus" \
  width=1280 \
  height=896
{
  "taskType": "imageInference",
  "taskUUID": "12228d65-c7e2-4b7c-959b-624762395b63",
  "model": "xai:grok-imagine@image",
  "positivePrompt": "A surreal bioluminescent forest at twilight, towering crystalline trees glowing with teal and violet light, floating pollen-like sparks, a glassy stream reflecting luminous mushrooms and enormous fern leaves, a lone traveler in a weathered cloak կանգ on a moss-covered stone bridge, cinematic atmosphere, volumetric fog, ultra-detailed fantasy concept art, dramatic composition, rich textures, ethereal color palette, high contrast, sharp focus",
  "width": 1280,
  "height": 896
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "12228d65-c7e2-4b7c-959b-624762395b63",
  "imageUUID": "6c67cf4a-55f8-455e-80a0-c524807ebc30",
  "imageURL": "https://im.runware.ai/image/os/a03d21/ws/2/ii/6c67cf4a-55f8-455e-80a0-c524807ebc30.jpg",
  "seed": 1732241093,
  "cost": 0.02
}
Text to Image

Surreal Astronaut Dreamscape

Surreal Astronaut Dreamscape

A surreal cinematic scene of a lone astronaut standing on a mirror-like salt flat under a giant glowing jellyfish-shaped nebula, distant crystalline mountains, floating shards of glass reflecting starlight, volumetric moonbeams, ultra-detailed suit textures, vivid teal and magenta color palette, atmospheric haze, dramatic composition, photorealistic yet dreamlike, high contrast, intricate environmental detail

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'xai:grok-imagine@image',
  positivePrompt: 'A surreal cinematic scene of a lone astronaut standing on a mirror-like salt flat under a giant glowing jellyfish-shaped nebula, distant crystalline mountains, floating shards of glass reflecting starlight, volumetric moonbeams, ultra-detailed suit textures, vivid teal and magenta color palette, atmospheric haze, dramatic composition, photorealistic yet dreamlike, high contrast, intricate environmental detail',
  width: 1280,
  height: 896
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "xai:grok-imagine@image",
            "positivePrompt": "A surreal cinematic scene of a lone astronaut standing on a mirror-like salt flat under a giant glowing jellyfish-shaped nebula, distant crystalline mountains, floating shards of glass reflecting starlight, volumetric moonbeams, ultra-detailed suit textures, vivid teal and magenta color palette, atmospheric haze, dramatic composition, photorealistic yet dreamlike, high contrast, intricate environmental detail",
            "width": 1280,
            "height": 896
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "39571168-687a-4aec-a253-df7be20bd0d4",
      "model": "xai:grok-imagine@image",
      "positivePrompt": "A surreal cinematic scene of a lone astronaut standing on a mirror-like salt flat under a giant glowing jellyfish-shaped nebula, distant crystalline mountains, floating shards of glass reflecting starlight, volumetric moonbeams, ultra-detailed suit textures, vivid teal and magenta color palette, atmospheric haze, dramatic composition, photorealistic yet dreamlike, high contrast, intricate environmental detail",
      "width": 1280,
      "height": 896
    }
  ]'
runware run xai:grok-imagine@image \
  positivePrompt="A surreal cinematic scene of a lone astronaut standing on a mirror-like salt flat under a giant glowing jellyfish-shaped nebula, distant crystalline mountains, floating shards of glass reflecting starlight, volumetric moonbeams, ultra-detailed suit textures, vivid teal and magenta color palette, atmospheric haze, dramatic composition, photorealistic yet dreamlike, high contrast, intricate environmental detail" \
  width=1280 \
  height=896
{
  "taskType": "imageInference",
  "taskUUID": "39571168-687a-4aec-a253-df7be20bd0d4",
  "model": "xai:grok-imagine@image",
  "positivePrompt": "A surreal cinematic scene of a lone astronaut standing on a mirror-like salt flat under a giant glowing jellyfish-shaped nebula, distant crystalline mountains, floating shards of glass reflecting starlight, volumetric moonbeams, ultra-detailed suit textures, vivid teal and magenta color palette, atmospheric haze, dramatic composition, photorealistic yet dreamlike, high contrast, intricate environmental detail",
  "width": 1280,
  "height": 896
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "39571168-687a-4aec-a253-df7be20bd0d4",
  "imageUUID": "c62f6951-f37f-4019-a51c-0ed55c202732",
  "imageURL": "https://im.runware.ai/image/os/a20d05/ws/2/ii/c62f6951-f37f-4019-a51c-0ed55c202732.jpg",
  "seed": 1218818176,
  "cost": 0.02
}