MODEL IDxai:grok-imagine@image-2.0
live

Grok Imagine Image 2.0 Preview

xAI
by xAI

Grok Imagine Image 2.0 Preview is xAI's next-generation image generation and editing model for both text-to-image and prompt-guided image transformation. It keeps the same core workflow as the current Grok Imagine image family, including aspect-ratio control and image-based editing, while adding a dedicated quality parameter so teams can tune output fidelity within the same API shape. It is a strong fit for creative production pipelines that want one Grok image endpoint for generation, editing, and quality-sensitive iteration without switching to a separate model family.

Grok Imagine Image 2.0 Preview
Image to Image

Roller Derby Commentator Avatar

Roller Derby Commentator Avatar

Create a polished square profile avatar from the reference portrait, preserving the person’s recognizable facial structure, short curly hair, round glasses, skin tone, and confident half-smile. Depict them as a charismatic roller derby commentator wearing a satin bomber jacket and broadcast headset, framed head-and-shoulders and facing slightly toward camera. Bold contemporary linocut and risograph illustration style with expressive carved contours, controlled ink texture, crisp silhouette, and layered spot colors in acid chartreuse, deep aubergine, warm cream, and small coral accents. Add a simple abstract oval-track motif behind the head as a graphic halo, with no lettering, numbers, logos, or team branding. Energetic, clever, welcoming mood; centered composition, strong contrast, uncluttered background, readable at small profile-picture size, finished editorial illustration rather than a photo filter.

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-2.0',
  positivePrompt: 'Create a polished square profile avatar from the reference portrait, preserving the person’s recognizable facial structure, short curly hair, round glasses, skin tone, and confident half-smile. Depict them as a charismatic roller derby commentator wearing a satin bomber jacket and broadcast headset, framed head-and-shoulders and facing slightly toward camera. Bold contemporary linocut and risograph illustration style with expressive carved contours, controlled ink texture, crisp silhouette, and layered spot colors in acid chartreuse, deep aubergine, warm cream, and small coral accents. Add a simple abstract oval-track motif behind the head as a graphic halo, with no lettering, numbers, logos, or team branding. Energetic, clever, welcoming mood; centered composition, strong contrast, uncluttered background, readable at small profile-picture size, finished editorial illustration rather than a photo filter.',
  resolution: '1K',
  settings: {
    quality: 'medium'
  },
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/6a81df5a-0243-474e-9768-2e8d56468d88.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-2.0",
            "positivePrompt": "Create a polished square profile avatar from the reference portrait, preserving the person’s recognizable facial structure, short curly hair, round glasses, skin tone, and confident half-smile. Depict them as a charismatic roller derby commentator wearing a satin bomber jacket and broadcast headset, framed head-and-shoulders and facing slightly toward camera. Bold contemporary linocut and risograph illustration style with expressive carved contours, controlled ink texture, crisp silhouette, and layered spot colors in acid chartreuse, deep aubergine, warm cream, and small coral accents. Add a simple abstract oval-track motif behind the head as a graphic halo, with no lettering, numbers, logos, or team branding. Energetic, clever, welcoming mood; centered composition, strong contrast, uncluttered background, readable at small profile-picture size, finished editorial illustration rather than a photo filter.",
            "resolution": "1K",
            "settings": {
                "quality": "medium"
            },
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/6a81df5a-0243-474e-9768-2e8d56468d88.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": "9c0b0148-6efe-487d-829c-c06e708afe85",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Create a polished square profile avatar from the reference portrait, preserving the person’s recognizable facial structure, short curly hair, round glasses, skin tone, and confident half-smile. Depict them as a charismatic roller derby commentator wearing a satin bomber jacket and broadcast headset, framed head-and-shoulders and facing slightly toward camera. Bold contemporary linocut and risograph illustration style with expressive carved contours, controlled ink texture, crisp silhouette, and layered spot colors in acid chartreuse, deep aubergine, warm cream, and small coral accents. Add a simple abstract oval-track motif behind the head as a graphic halo, with no lettering, numbers, logos, or team branding. Energetic, clever, welcoming mood; centered composition, strong contrast, uncluttered background, readable at small profile-picture size, finished editorial illustration rather than a photo filter.",
      "resolution": "1K",
      "settings": {
        "quality": "medium"
      },
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/6a81df5a-0243-474e-9768-2e8d56468d88.jpg"
        ]
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Create a polished square profile avatar from the reference portrait, preserving the person’s recognizable facial structure, short curly hair, round glasses, skin tone, and confident half-smile. Depict them as a charismatic roller derby commentator wearing a satin bomber jacket and broadcast headset, framed head-and-shoulders and facing slightly toward camera. Bold contemporary linocut and risograph illustration style with expressive carved contours, controlled ink texture, crisp silhouette, and layered spot colors in acid chartreuse, deep aubergine, warm cream, and small coral accents. Add a simple abstract oval-track motif behind the head as a graphic halo, with no lettering, numbers, logos, or team branding. Energetic, clever, welcoming mood; centered composition, strong contrast, uncluttered background, readable at small profile-picture size, finished editorial illustration rather than a photo filter." \
  resolution=1K \
  settings.quality=medium \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/6a81df5a-0243-474e-9768-2e8d56468d88.jpg
{
  "taskType": "imageInference",
  "taskUUID": "9c0b0148-6efe-487d-829c-c06e708afe85",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Create a polished square profile avatar from the reference portrait, preserving the person’s recognizable facial structure, short curly hair, round glasses, skin tone, and confident half-smile. Depict them as a charismatic roller derby commentator wearing a satin bomber jacket and broadcast headset, framed head-and-shoulders and facing slightly toward camera. Bold contemporary linocut and risograph illustration style with expressive carved contours, controlled ink texture, crisp silhouette, and layered spot colors in acid chartreuse, deep aubergine, warm cream, and small coral accents. Add a simple abstract oval-track motif behind the head as a graphic halo, with no lettering, numbers, logos, or team branding. Energetic, clever, welcoming mood; centered composition, strong contrast, uncluttered background, readable at small profile-picture size, finished editorial illustration rather than a photo filter.",
  "resolution": "1K",
  "settings": {
    "quality": "medium"
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/6a81df5a-0243-474e-9768-2e8d56468d88.jpg"
    ]
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "9c0b0148-6efe-487d-829c-c06e708afe85",
  "imageUUID": "4c844304-0f51-4bea-9ebd-4fc476948626",
  "imageURL": "https://im.runware.ai/image/os/a01d21/ws/4/ii/4c844304-0f51-4bea-9ebd-4fc476948626.jpg",
  "seed": 1080872366,
  "cost": 0.06
}
Image to Image

Pipe Organ Bauhaus Wall Print

Pipe Organ Bauhaus Wall Print

Transform the reference photograph into a finished vertical limited-edition Bauhaus screenprint for an architect-designed listening room. Preserve the recognizable hierarchy and rhythm of the organ pipes, valves, rods, and wooden channels, but simplify them into precise geometric forms, overlapping circles, narrow bars, stepped rectangles, and measured negative space. Use a sophisticated limited palette of parchment cream, oxidized copper, burgundy, charcoal black, and small accents of cobalt blue. Crisp hand-pulled ink edges, subtle screenprint grain, slight pigment misregistration, matte archival paper texture, balanced asymmetrical composition, museum-quality modernist printmaking, calm and architectural mood. Standalone full-bleed artwork only, with no frame, room mockup, border, lettering, signatures, logos, or captions.

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-2.0',
  positivePrompt: 'Transform the reference photograph into a finished vertical limited-edition Bauhaus screenprint for an architect-designed listening room. Preserve the recognizable hierarchy and rhythm of the organ pipes, valves, rods, and wooden channels, but simplify them into precise geometric forms, overlapping circles, narrow bars, stepped rectangles, and measured negative space. Use a sophisticated limited palette of parchment cream, oxidized copper, burgundy, charcoal black, and small accents of cobalt blue. Crisp hand-pulled ink edges, subtle screenprint grain, slight pigment misregistration, matte archival paper texture, balanced asymmetrical composition, museum-quality modernist printmaking, calm and architectural mood. Standalone full-bleed artwork only, with no frame, room mockup, border, lettering, signatures, logos, or captions.',
  resolution: '2K',
  settings: {
    quality: 'medium'
  },
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/817df8a7-7a04-428c-862c-cdfb60e44cd0.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-2.0",
            "positivePrompt": "Transform the reference photograph into a finished vertical limited-edition Bauhaus screenprint for an architect-designed listening room. Preserve the recognizable hierarchy and rhythm of the organ pipes, valves, rods, and wooden channels, but simplify them into precise geometric forms, overlapping circles, narrow bars, stepped rectangles, and measured negative space. Use a sophisticated limited palette of parchment cream, oxidized copper, burgundy, charcoal black, and small accents of cobalt blue. Crisp hand-pulled ink edges, subtle screenprint grain, slight pigment misregistration, matte archival paper texture, balanced asymmetrical composition, museum-quality modernist printmaking, calm and architectural mood. Standalone full-bleed artwork only, with no frame, room mockup, border, lettering, signatures, logos, or captions.",
            "resolution": "2K",
            "settings": {
                "quality": "medium"
            },
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/817df8a7-7a04-428c-862c-cdfb60e44cd0.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": "7153182e-a880-467f-a3be-2eb51970ef83",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Transform the reference photograph into a finished vertical limited-edition Bauhaus screenprint for an architect-designed listening room. Preserve the recognizable hierarchy and rhythm of the organ pipes, valves, rods, and wooden channels, but simplify them into precise geometric forms, overlapping circles, narrow bars, stepped rectangles, and measured negative space. Use a sophisticated limited palette of parchment cream, oxidized copper, burgundy, charcoal black, and small accents of cobalt blue. Crisp hand-pulled ink edges, subtle screenprint grain, slight pigment misregistration, matte archival paper texture, balanced asymmetrical composition, museum-quality modernist printmaking, calm and architectural mood. Standalone full-bleed artwork only, with no frame, room mockup, border, lettering, signatures, logos, or captions.",
      "resolution": "2K",
      "settings": {
        "quality": "medium"
      },
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/817df8a7-7a04-428c-862c-cdfb60e44cd0.jpg"
        ]
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Transform the reference photograph into a finished vertical limited-edition Bauhaus screenprint for an architect-designed listening room. Preserve the recognizable hierarchy and rhythm of the organ pipes, valves, rods, and wooden channels, but simplify them into precise geometric forms, overlapping circles, narrow bars, stepped rectangles, and measured negative space. Use a sophisticated limited palette of parchment cream, oxidized copper, burgundy, charcoal black, and small accents of cobalt blue. Crisp hand-pulled ink edges, subtle screenprint grain, slight pigment misregistration, matte archival paper texture, balanced asymmetrical composition, museum-quality modernist printmaking, calm and architectural mood. Standalone full-bleed artwork only, with no frame, room mockup, border, lettering, signatures, logos, or captions." \
  resolution=2K \
  settings.quality=medium \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/817df8a7-7a04-428c-862c-cdfb60e44cd0.jpg
{
  "taskType": "imageInference",
  "taskUUID": "7153182e-a880-467f-a3be-2eb51970ef83",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Transform the reference photograph into a finished vertical limited-edition Bauhaus screenprint for an architect-designed listening room. Preserve the recognizable hierarchy and rhythm of the organ pipes, valves, rods, and wooden channels, but simplify them into precise geometric forms, overlapping circles, narrow bars, stepped rectangles, and measured negative space. Use a sophisticated limited palette of parchment cream, oxidized copper, burgundy, charcoal black, and small accents of cobalt blue. Crisp hand-pulled ink edges, subtle screenprint grain, slight pigment misregistration, matte archival paper texture, balanced asymmetrical composition, museum-quality modernist printmaking, calm and architectural mood. Standalone full-bleed artwork only, with no frame, room mockup, border, lettering, signatures, logos, or captions.",
  "resolution": "2K",
  "settings": {
    "quality": "medium"
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/817df8a7-7a04-428c-862c-cdfb60e44cd0.jpg"
    ]
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "7153182e-a880-467f-a3be-2eb51970ef83",
  "imageUUID": "e3dc213d-60e0-4f65-aa8c-6db9fade9b47",
  "imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/4/ii/e3dc213d-60e0-4f65-aa8c-6db9fade9b47.jpg",
  "seed": 1728771786,
  "cost": 0.08
}
Image to Image

Historic Firehouse Loft Listing

Historic Firehouse Loft Listing

Virtually stage this exact converted firehouse loft for a premium residential property listing. Preserve the reference image's room dimensions, camera position, perspective, brickwork, windows, ceiling beams, concrete floor, doors, and all permanent architectural details. Furnish the open living area with a low cognac leather sofa, two sculptural cream bouclé lounge chairs, a large muted rust-and-ivory wool rug, a slim blackened-steel coffee table, an understated oak media console, one mature olive tree in a stone planter, and restrained contemporary artwork without visible text. Arrange everything at realistic scale with clear circulation paths and no structural alterations. Warm late-afternoon sunlight entering through the steel windows, soft practical lamp glow, natural shadows, balanced exposure, crisp materials, subtle warm neutral palette, sophisticated but lived-in styling. High-end architectural real-estate photography, straight vertical lines, realistic wide-angle lens, photorealistic, polished MLS and property-brochure quality, no people, no logos, no captions, no watermark.

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-2.0',
  positivePrompt: 'Virtually stage this exact converted firehouse loft for a premium residential property listing. Preserve the reference image\'s room dimensions, camera position, perspective, brickwork, windows, ceiling beams, concrete floor, doors, and all permanent architectural details. Furnish the open living area with a low cognac leather sofa, two sculptural cream bouclé lounge chairs, a large muted rust-and-ivory wool rug, a slim blackened-steel coffee table, an understated oak media console, one mature olive tree in a stone planter, and restrained contemporary artwork without visible text. Arrange everything at realistic scale with clear circulation paths and no structural alterations. Warm late-afternoon sunlight entering through the steel windows, soft practical lamp glow, natural shadows, balanced exposure, crisp materials, subtle warm neutral palette, sophisticated but lived-in styling. High-end architectural real-estate photography, straight vertical lines, realistic wide-angle lens, photorealistic, polished MLS and property-brochure quality, no people, no logos, no captions, no watermark.',
  settings: {
    quality: 'medium'
  },
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/3f9d93b6-58bc-445a-9ecb-28a81b51945d.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-2.0",
            "positivePrompt": "Virtually stage this exact converted firehouse loft for a premium residential property listing. Preserve the reference image's room dimensions, camera position, perspective, brickwork, windows, ceiling beams, concrete floor, doors, and all permanent architectural details. Furnish the open living area with a low cognac leather sofa, two sculptural cream bouclé lounge chairs, a large muted rust-and-ivory wool rug, a slim blackened-steel coffee table, an understated oak media console, one mature olive tree in a stone planter, and restrained contemporary artwork without visible text. Arrange everything at realistic scale with clear circulation paths and no structural alterations. Warm late-afternoon sunlight entering through the steel windows, soft practical lamp glow, natural shadows, balanced exposure, crisp materials, subtle warm neutral palette, sophisticated but lived-in styling. High-end architectural real-estate photography, straight vertical lines, realistic wide-angle lens, photorealistic, polished MLS and property-brochure quality, no people, no logos, no captions, no watermark.",
            "settings": {
                "quality": "medium"
            },
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/3f9d93b6-58bc-445a-9ecb-28a81b51945d.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": "d34f2896-82e8-4514-b8d3-71d153a142f7",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Virtually stage this exact converted firehouse loft for a premium residential property listing. Preserve the reference image's room dimensions, camera position, perspective, brickwork, windows, ceiling beams, concrete floor, doors, and all permanent architectural details. Furnish the open living area with a low cognac leather sofa, two sculptural cream bouclé lounge chairs, a large muted rust-and-ivory wool rug, a slim blackened-steel coffee table, an understated oak media console, one mature olive tree in a stone planter, and restrained contemporary artwork without visible text. Arrange everything at realistic scale with clear circulation paths and no structural alterations. Warm late-afternoon sunlight entering through the steel windows, soft practical lamp glow, natural shadows, balanced exposure, crisp materials, subtle warm neutral palette, sophisticated but lived-in styling. High-end architectural real-estate photography, straight vertical lines, realistic wide-angle lens, photorealistic, polished MLS and property-brochure quality, no people, no logos, no captions, no watermark.",
      "settings": {
        "quality": "medium"
      },
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/3f9d93b6-58bc-445a-9ecb-28a81b51945d.jpg"
        ]
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Virtually stage this exact converted firehouse loft for a premium residential property listing. Preserve the reference image's room dimensions, camera position, perspective, brickwork, windows, ceiling beams, concrete floor, doors, and all permanent architectural details. Furnish the open living area with a low cognac leather sofa, two sculptural cream bouclé lounge chairs, a large muted rust-and-ivory wool rug, a slim blackened-steel coffee table, an understated oak media console, one mature olive tree in a stone planter, and restrained contemporary artwork without visible text. Arrange everything at realistic scale with clear circulation paths and no structural alterations. Warm late-afternoon sunlight entering through the steel windows, soft practical lamp glow, natural shadows, balanced exposure, crisp materials, subtle warm neutral palette, sophisticated but lived-in styling. High-end architectural real-estate photography, straight vertical lines, realistic wide-angle lens, photorealistic, polished MLS and property-brochure quality, no people, no logos, no captions, no watermark." \
  settings.quality=medium \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/3f9d93b6-58bc-445a-9ecb-28a81b51945d.jpg
{
  "taskType": "imageInference",
  "taskUUID": "d34f2896-82e8-4514-b8d3-71d153a142f7",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Virtually stage this exact converted firehouse loft for a premium residential property listing. Preserve the reference image's room dimensions, camera position, perspective, brickwork, windows, ceiling beams, concrete floor, doors, and all permanent architectural details. Furnish the open living area with a low cognac leather sofa, two sculptural cream bouclé lounge chairs, a large muted rust-and-ivory wool rug, a slim blackened-steel coffee table, an understated oak media console, one mature olive tree in a stone planter, and restrained contemporary artwork without visible text. Arrange everything at realistic scale with clear circulation paths and no structural alterations. Warm late-afternoon sunlight entering through the steel windows, soft practical lamp glow, natural shadows, balanced exposure, crisp materials, subtle warm neutral palette, sophisticated but lived-in styling. High-end architectural real-estate photography, straight vertical lines, realistic wide-angle lens, photorealistic, polished MLS and property-brochure quality, no people, no logos, no captions, no watermark.",
  "settings": {
    "quality": "medium"
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/3f9d93b6-58bc-445a-9ecb-28a81b51945d.jpg"
    ]
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "d34f2896-82e8-4514-b8d3-71d153a142f7",
  "imageUUID": "7274b53d-d6fb-4d15-96fb-935c079cca13",
  "imageURL": "https://im.runware.ai/image/os/a03d21/ws/4/ii/7274b53d-d6fb-4d15-96fb-935c079cca13.jpg",
  "seed": 1782355963,
  "cost": 0.06
}
Text to Image

Independent Watchmaker Papercut Profile Avatar

Independent Watchmaker Papercut Profile Avatar

A polished stylized profile avatar of a fictional independent mechanical watchmaker in their early forties, centered head-and-shoulders portrait with a calm, meticulous expression, round brass loupe resting above one eye, indigo work apron over an ivory shirt, one tiny watch gear held delicately near the chest. Sophisticated layered papercut collage art direction: crisp hand-cut paper edges, subtle fiber texture, concentric gear shapes and fine watch-spring spirals forming an elegant abstract halo. Restrained palette of oxblood red, deep cobalt, warm ivory, charcoal, and antique brass. Soft directional studio lighting translated into layered paper shadows, strong facial readability at thumbnail size, symmetrical composition, generous uncluttered space around the head for circular profile cropping, decorative vertical background extending above and below for an ultra-tall master asset. Premium editorial craft aesthetic, precise details, approachable and quietly confident mood, no text, no logo, no border, no interface elements.

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-2.0',
  positivePrompt: 'A polished stylized profile avatar of a fictional independent mechanical watchmaker in their early forties, centered head-and-shoulders portrait with a calm, meticulous expression, round brass loupe resting above one eye, indigo work apron over an ivory shirt, one tiny watch gear held delicately near the chest. Sophisticated layered papercut collage art direction: crisp hand-cut paper edges, subtle fiber texture, concentric gear shapes and fine watch-spring spirals forming an elegant abstract halo. Restrained palette of oxblood red, deep cobalt, warm ivory, charcoal, and antique brass. Soft directional studio lighting translated into layered paper shadows, strong facial readability at thumbnail size, symmetrical composition, generous uncluttered space around the head for circular profile cropping, decorative vertical background extending above and below for an ultra-tall master asset. Premium editorial craft aesthetic, precise details, approachable and quietly confident mood, no text, no logo, no border, no interface elements.',
  width: 1344,
  height: 2912,
  settings: {
    quality: 'medium'
  }
})
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-2.0",
            "positivePrompt": "A polished stylized profile avatar of a fictional independent mechanical watchmaker in their early forties, centered head-and-shoulders portrait with a calm, meticulous expression, round brass loupe resting above one eye, indigo work apron over an ivory shirt, one tiny watch gear held delicately near the chest. Sophisticated layered papercut collage art direction: crisp hand-cut paper edges, subtle fiber texture, concentric gear shapes and fine watch-spring spirals forming an elegant abstract halo. Restrained palette of oxblood red, deep cobalt, warm ivory, charcoal, and antique brass. Soft directional studio lighting translated into layered paper shadows, strong facial readability at thumbnail size, symmetrical composition, generous uncluttered space around the head for circular profile cropping, decorative vertical background extending above and below for an ultra-tall master asset. Premium editorial craft aesthetic, precise details, approachable and quietly confident mood, no text, no logo, no border, no interface elements.",
            "width": 1344,
            "height": 2912,
            "settings": {
                "quality": "medium"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "1c31d1e2-a362-4498-b979-a946f4af61f4",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "A polished stylized profile avatar of a fictional independent mechanical watchmaker in their early forties, centered head-and-shoulders portrait with a calm, meticulous expression, round brass loupe resting above one eye, indigo work apron over an ivory shirt, one tiny watch gear held delicately near the chest. Sophisticated layered papercut collage art direction: crisp hand-cut paper edges, subtle fiber texture, concentric gear shapes and fine watch-spring spirals forming an elegant abstract halo. Restrained palette of oxblood red, deep cobalt, warm ivory, charcoal, and antique brass. Soft directional studio lighting translated into layered paper shadows, strong facial readability at thumbnail size, symmetrical composition, generous uncluttered space around the head for circular profile cropping, decorative vertical background extending above and below for an ultra-tall master asset. Premium editorial craft aesthetic, precise details, approachable and quietly confident mood, no text, no logo, no border, no interface elements.",
      "width": 1344,
      "height": 2912,
      "settings": {
        "quality": "medium"
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="A polished stylized profile avatar of a fictional independent mechanical watchmaker in their early forties, centered head-and-shoulders portrait with a calm, meticulous expression, round brass loupe resting above one eye, indigo work apron over an ivory shirt, one tiny watch gear held delicately near the chest. Sophisticated layered papercut collage art direction: crisp hand-cut paper edges, subtle fiber texture, concentric gear shapes and fine watch-spring spirals forming an elegant abstract halo. Restrained palette of oxblood red, deep cobalt, warm ivory, charcoal, and antique brass. Soft directional studio lighting translated into layered paper shadows, strong facial readability at thumbnail size, symmetrical composition, generous uncluttered space around the head for circular profile cropping, decorative vertical background extending above and below for an ultra-tall master asset. Premium editorial craft aesthetic, precise details, approachable and quietly confident mood, no text, no logo, no border, no interface elements." \
  width=1344 \
  height=2912 \
  settings.quality=medium
{
  "taskType": "imageInference",
  "taskUUID": "1c31d1e2-a362-4498-b979-a946f4af61f4",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "A polished stylized profile avatar of a fictional independent mechanical watchmaker in their early forties, centered head-and-shoulders portrait with a calm, meticulous expression, round brass loupe resting above one eye, indigo work apron over an ivory shirt, one tiny watch gear held delicately near the chest. Sophisticated layered papercut collage art direction: crisp hand-cut paper edges, subtle fiber texture, concentric gear shapes and fine watch-spring spirals forming an elegant abstract halo. Restrained palette of oxblood red, deep cobalt, warm ivory, charcoal, and antique brass. Soft directional studio lighting translated into layered paper shadows, strong facial readability at thumbnail size, symmetrical composition, generous uncluttered space around the head for circular profile cropping, decorative vertical background extending above and below for an ultra-tall master asset. Premium editorial craft aesthetic, precise details, approachable and quietly confident mood, no text, no logo, no border, no interface elements.",
  "width": 1344,
  "height": 2912,
  "settings": {
    "quality": "medium"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "1c31d1e2-a362-4498-b979-a946f4af61f4",
  "imageUUID": "00221982-35ac-4822-91a8-3f78bef5c6d2",
  "imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/4/ii/00221982-35ac-4822-91a8-3f78bef5c6d2.jpg",
  "seed": 307408407,
  "cost": 0.07
}
Text to Image

Subsea Networks Book Dust Jacket

Subsea Networks Book Dust Jacket

Finished flat wraparound hardcover dust-jacket artwork, panoramic 2:1 print layout, not a book mockup. Narrative nonfiction about the engineers and ships that maintain the world's undersea fiber-optic cables. Create a sophisticated editorial cutaway of the North Atlantic at twilight: slate-blue ocean spanning the entire jacket, a small cable-repair vessel viewed from above on the right-hand front cover, powerful deck work lights glowing amber, and a single luminous red-orange cable descending through dark layered water into a beautifully detailed seabed relief. Tiny marine snow, subtle sonar contours, restrained technical cartography, atmospheric depth, premium screen-printed texture, modern scientific illustration influenced by mid-century oceanographic charts. Compose as a continuous jacket: back cover on the left with calm open water and generous negative space, narrow spine at center with the cable crossing it, front cover on the right with the ship and main focal point. Add crisp, elegant condensed sans-serif cover typography only where specified: large title “THE QUIET OCEAN” on the upper-right front cover, subtitle “Inside the Hidden Network Beneath the Waves” below it, author name “MARA VOSS” near the bottom; repeat “THE QUIET OCEAN — MARA VOSS” vertically on the spine. No other text, no barcode, no logos. Literate, authoritative, cinematic, bookstore-ready, precise hierarchy, excellent legibility, edge-to-edge 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-2.0',
  positivePrompt: 'Finished flat wraparound hardcover dust-jacket artwork, panoramic 2:1 print layout, not a book mockup. Narrative nonfiction about the engineers and ships that maintain the world\'s undersea fiber-optic cables. Create a sophisticated editorial cutaway of the North Atlantic at twilight: slate-blue ocean spanning the entire jacket, a small cable-repair vessel viewed from above on the right-hand front cover, powerful deck work lights glowing amber, and a single luminous red-orange cable descending through dark layered water into a beautifully detailed seabed relief. Tiny marine snow, subtle sonar contours, restrained technical cartography, atmospheric depth, premium screen-printed texture, modern scientific illustration influenced by mid-century oceanographic charts. Compose as a continuous jacket: back cover on the left with calm open water and generous negative space, narrow spine at center with the cable crossing it, front cover on the right with the ship and main focal point. Add crisp, elegant condensed sans-serif cover typography only where specified: large title “THE QUIET OCEAN” on the upper-right front cover, subtitle “Inside the Hidden Network Beneath the Waves” below it, author name “MARA VOSS” near the bottom; repeat “THE QUIET OCEAN — MARA VOSS” vertically on the spine. No other text, no barcode, no logos. Literate, authoritative, cinematic, bookstore-ready, precise hierarchy, excellent legibility, edge-to-edge artwork.',
  width: 1408,
  height: 704,
  settings: {
    quality: 'medium'
  }
})
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-2.0",
            "positivePrompt": "Finished flat wraparound hardcover dust-jacket artwork, panoramic 2:1 print layout, not a book mockup. Narrative nonfiction about the engineers and ships that maintain the world's undersea fiber-optic cables. Create a sophisticated editorial cutaway of the North Atlantic at twilight: slate-blue ocean spanning the entire jacket, a small cable-repair vessel viewed from above on the right-hand front cover, powerful deck work lights glowing amber, and a single luminous red-orange cable descending through dark layered water into a beautifully detailed seabed relief. Tiny marine snow, subtle sonar contours, restrained technical cartography, atmospheric depth, premium screen-printed texture, modern scientific illustration influenced by mid-century oceanographic charts. Compose as a continuous jacket: back cover on the left with calm open water and generous negative space, narrow spine at center with the cable crossing it, front cover on the right with the ship and main focal point. Add crisp, elegant condensed sans-serif cover typography only where specified: large title “THE QUIET OCEAN” on the upper-right front cover, subtitle “Inside the Hidden Network Beneath the Waves” below it, author name “MARA VOSS” near the bottom; repeat “THE QUIET OCEAN — MARA VOSS” vertically on the spine. No other text, no barcode, no logos. Literate, authoritative, cinematic, bookstore-ready, precise hierarchy, excellent legibility, edge-to-edge artwork.",
            "width": 1408,
            "height": 704,
            "settings": {
                "quality": "medium"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "ffa83915-793b-4448-afc0-0dcc92affe9b",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Finished flat wraparound hardcover dust-jacket artwork, panoramic 2:1 print layout, not a book mockup. Narrative nonfiction about the engineers and ships that maintain the world's undersea fiber-optic cables. Create a sophisticated editorial cutaway of the North Atlantic at twilight: slate-blue ocean spanning the entire jacket, a small cable-repair vessel viewed from above on the right-hand front cover, powerful deck work lights glowing amber, and a single luminous red-orange cable descending through dark layered water into a beautifully detailed seabed relief. Tiny marine snow, subtle sonar contours, restrained technical cartography, atmospheric depth, premium screen-printed texture, modern scientific illustration influenced by mid-century oceanographic charts. Compose as a continuous jacket: back cover on the left with calm open water and generous negative space, narrow spine at center with the cable crossing it, front cover on the right with the ship and main focal point. Add crisp, elegant condensed sans-serif cover typography only where specified: large title “THE QUIET OCEAN” on the upper-right front cover, subtitle “Inside the Hidden Network Beneath the Waves” below it, author name “MARA VOSS” near the bottom; repeat “THE QUIET OCEAN — MARA VOSS” vertically on the spine. No other text, no barcode, no logos. Literate, authoritative, cinematic, bookstore-ready, precise hierarchy, excellent legibility, edge-to-edge artwork.",
      "width": 1408,
      "height": 704,
      "settings": {
        "quality": "medium"
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Finished flat wraparound hardcover dust-jacket artwork, panoramic 2:1 print layout, not a book mockup. Narrative nonfiction about the engineers and ships that maintain the world's undersea fiber-optic cables. Create a sophisticated editorial cutaway of the North Atlantic at twilight: slate-blue ocean spanning the entire jacket, a small cable-repair vessel viewed from above on the right-hand front cover, powerful deck work lights glowing amber, and a single luminous red-orange cable descending through dark layered water into a beautifully detailed seabed relief. Tiny marine snow, subtle sonar contours, restrained technical cartography, atmospheric depth, premium screen-printed texture, modern scientific illustration influenced by mid-century oceanographic charts. Compose as a continuous jacket: back cover on the left with calm open water and generous negative space, narrow spine at center with the cable crossing it, front cover on the right with the ship and main focal point. Add crisp, elegant condensed sans-serif cover typography only where specified: large title “THE QUIET OCEAN” on the upper-right front cover, subtitle “Inside the Hidden Network Beneath the Waves” below it, author name “MARA VOSS” near the bottom; repeat “THE QUIET OCEAN — MARA VOSS” vertically on the spine. No other text, no barcode, no logos. Literate, authoritative, cinematic, bookstore-ready, precise hierarchy, excellent legibility, edge-to-edge artwork." \
  width=1408 \
  height=704 \
  settings.quality=medium
{
  "taskType": "imageInference",
  "taskUUID": "ffa83915-793b-4448-afc0-0dcc92affe9b",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Finished flat wraparound hardcover dust-jacket artwork, panoramic 2:1 print layout, not a book mockup. Narrative nonfiction about the engineers and ships that maintain the world's undersea fiber-optic cables. Create a sophisticated editorial cutaway of the North Atlantic at twilight: slate-blue ocean spanning the entire jacket, a small cable-repair vessel viewed from above on the right-hand front cover, powerful deck work lights glowing amber, and a single luminous red-orange cable descending through dark layered water into a beautifully detailed seabed relief. Tiny marine snow, subtle sonar contours, restrained technical cartography, atmospheric depth, premium screen-printed texture, modern scientific illustration influenced by mid-century oceanographic charts. Compose as a continuous jacket: back cover on the left with calm open water and generous negative space, narrow spine at center with the cable crossing it, front cover on the right with the ship and main focal point. Add crisp, elegant condensed sans-serif cover typography only where specified: large title “THE QUIET OCEAN” on the upper-right front cover, subtitle “Inside the Hidden Network Beneath the Waves” below it, author name “MARA VOSS” near the bottom; repeat “THE QUIET OCEAN — MARA VOSS” vertically on the spine. No other text, no barcode, no logos. Literate, authoritative, cinematic, bookstore-ready, precise hierarchy, excellent legibility, edge-to-edge artwork.",
  "width": 1408,
  "height": 704,
  "settings": {
    "quality": "medium"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "ffa83915-793b-4448-afc0-0dcc92affe9b",
  "imageUUID": "fab62549-156e-432f-ba73-9ae90d93264a",
  "imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/fab62549-156e-432f-ba73-9ae90d93264a.jpg",
  "seed": 847916710,
  "cost": 0.05
}
Text to Image

Seismic Topography Giclée Print

Seismic Topography Giclée Print

Finished square giclée wall-art illustration for the lobby of an earthquake engineering consultancy. An elegant abstract aerial topography of a coastal fault zone, with layered contour lines bending into one precise seismic waveform across the center. Deep mineral indigo ground, oxidized copper, warm sandstone, and restrained ivory linework. Combine the tactile grain of traditional Japanese woodblock printing with crisp contemporary cartographic geometry. Balanced museum-quality composition, subtle paper fibers, fine engraved details, generous visual breathing room, sophisticated and calming rather than catastrophic. Edge-to-edge artwork only, no frame, no room mockup, no labels, no lettering, no numbers, no logo, no signature.

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-2.0',
  positivePrompt: 'Finished square giclée wall-art illustration for the lobby of an earthquake engineering consultancy. An elegant abstract aerial topography of a coastal fault zone, with layered contour lines bending into one precise seismic waveform across the center. Deep mineral indigo ground, oxidized copper, warm sandstone, and restrained ivory linework. Combine the tactile grain of traditional Japanese woodblock printing with crisp contemporary cartographic geometry. Balanced museum-quality composition, subtle paper fibers, fine engraved details, generous visual breathing room, sophisticated and calming rather than catastrophic. Edge-to-edge artwork only, no frame, no room mockup, no labels, no lettering, no numbers, no logo, no signature.',
  width: 2048,
  height: 2048,
  settings: {
    quality: 'medium'
  }
})
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-2.0",
            "positivePrompt": "Finished square giclée wall-art illustration for the lobby of an earthquake engineering consultancy. An elegant abstract aerial topography of a coastal fault zone, with layered contour lines bending into one precise seismic waveform across the center. Deep mineral indigo ground, oxidized copper, warm sandstone, and restrained ivory linework. Combine the tactile grain of traditional Japanese woodblock printing with crisp contemporary cartographic geometry. Balanced museum-quality composition, subtle paper fibers, fine engraved details, generous visual breathing room, sophisticated and calming rather than catastrophic. Edge-to-edge artwork only, no frame, no room mockup, no labels, no lettering, no numbers, no logo, no signature.",
            "width": 2048,
            "height": 2048,
            "settings": {
                "quality": "medium"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "b578041b-ef83-4098-a64e-3fe9a6c3e336",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Finished square giclée wall-art illustration for the lobby of an earthquake engineering consultancy. An elegant abstract aerial topography of a coastal fault zone, with layered contour lines bending into one precise seismic waveform across the center. Deep mineral indigo ground, oxidized copper, warm sandstone, and restrained ivory linework. Combine the tactile grain of traditional Japanese woodblock printing with crisp contemporary cartographic geometry. Balanced museum-quality composition, subtle paper fibers, fine engraved details, generous visual breathing room, sophisticated and calming rather than catastrophic. Edge-to-edge artwork only, no frame, no room mockup, no labels, no lettering, no numbers, no logo, no signature.",
      "width": 2048,
      "height": 2048,
      "settings": {
        "quality": "medium"
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Finished square giclée wall-art illustration for the lobby of an earthquake engineering consultancy. An elegant abstract aerial topography of a coastal fault zone, with layered contour lines bending into one precise seismic waveform across the center. Deep mineral indigo ground, oxidized copper, warm sandstone, and restrained ivory linework. Combine the tactile grain of traditional Japanese woodblock printing with crisp contemporary cartographic geometry. Balanced museum-quality composition, subtle paper fibers, fine engraved details, generous visual breathing room, sophisticated and calming rather than catastrophic. Edge-to-edge artwork only, no frame, no room mockup, no labels, no lettering, no numbers, no logo, no signature." \
  width=2048 \
  height=2048 \
  settings.quality=medium
{
  "taskType": "imageInference",
  "taskUUID": "b578041b-ef83-4098-a64e-3fe9a6c3e336",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Finished square giclée wall-art illustration for the lobby of an earthquake engineering consultancy. An elegant abstract aerial topography of a coastal fault zone, with layered contour lines bending into one precise seismic waveform across the center. Deep mineral indigo ground, oxidized copper, warm sandstone, and restrained ivory linework. Combine the tactile grain of traditional Japanese woodblock printing with crisp contemporary cartographic geometry. Balanced museum-quality composition, subtle paper fibers, fine engraved details, generous visual breathing room, sophisticated and calming rather than catastrophic. Edge-to-edge artwork only, no frame, no room mockup, no labels, no lettering, no numbers, no logo, no signature.",
  "width": 2048,
  "height": 2048,
  "settings": {
    "quality": "medium"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "b578041b-ef83-4098-a64e-3fe9a6c3e336",
  "imageUUID": "a18735ad-5231-4967-b9fe-c6967f2adf96",
  "imageURL": "https://im.runware.ai/image/os/a10dlim3/ws/4/ii/a18735ad-5231-4967-b9fe-c6967f2adf96.jpg",
  "seed": 486285715,
  "cost": 0.07
}
Image to Image

Retrofuturist Thereminist Press Portrait

Retrofuturist Thereminist Press Portrait

Create a polished personal press portrait using the reference image to preserve the subject’s recognizable facial identity, age, short silver hairstyle, and natural features. Portray her as an accomplished avant-garde theremin musician in a tailored ivory satin suit with sculptural shoulders and minimal silver jewelry, standing beside an elegant walnut theremin in a retrofuturist 1970s recording studio. Horizontal environmental portrait, three-quarter framing, subject positioned slightly left of center with one hand poised near the theremin antenna. Curved acoustic wall panels, translucent amber screens, cobalt-blue carpet, a few neatly routed analog cables, cinematic tungsten practical lights and a narrow cool-blue rim light. Sophisticated marigold, cobalt, ivory, and walnut palette; confident, enigmatic mood; realistic skin texture; subtle film grain; premium music editorial photography; 50mm lens character; shallow but readable depth of field; no lettering, logos, interface elements, or watermark.

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-2.0',
  positivePrompt: 'Create a polished personal press portrait using the reference image to preserve the subject’s recognizable facial identity, age, short silver hairstyle, and natural features. Portray her as an accomplished avant-garde theremin musician in a tailored ivory satin suit with sculptural shoulders and minimal silver jewelry, standing beside an elegant walnut theremin in a retrofuturist 1970s recording studio. Horizontal environmental portrait, three-quarter framing, subject positioned slightly left of center with one hand poised near the theremin antenna. Curved acoustic wall panels, translucent amber screens, cobalt-blue carpet, a few neatly routed analog cables, cinematic tungsten practical lights and a narrow cool-blue rim light. Sophisticated marigold, cobalt, ivory, and walnut palette; confident, enigmatic mood; realistic skin texture; subtle film grain; premium music editorial photography; 50mm lens character; shallow but readable depth of field; no lettering, logos, interface elements, or watermark.',
  width: 2496,
  height: 1664,
  settings: {
    quality: 'medium'
  },
  inputs: {
    referenceImages: [
      'https://assets.runware.ai/assets/inputs/74e298d6-f048-4305-add4-e359950190c7.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-2.0",
            "positivePrompt": "Create a polished personal press portrait using the reference image to preserve the subject’s recognizable facial identity, age, short silver hairstyle, and natural features. Portray her as an accomplished avant-garde theremin musician in a tailored ivory satin suit with sculptural shoulders and minimal silver jewelry, standing beside an elegant walnut theremin in a retrofuturist 1970s recording studio. Horizontal environmental portrait, three-quarter framing, subject positioned slightly left of center with one hand poised near the theremin antenna. Curved acoustic wall panels, translucent amber screens, cobalt-blue carpet, a few neatly routed analog cables, cinematic tungsten practical lights and a narrow cool-blue rim light. Sophisticated marigold, cobalt, ivory, and walnut palette; confident, enigmatic mood; realistic skin texture; subtle film grain; premium music editorial photography; 50mm lens character; shallow but readable depth of field; no lettering, logos, interface elements, or watermark.",
            "width": 2496,
            "height": 1664,
            "settings": {
                "quality": "medium"
            },
            "inputs": {
                "referenceImages": [
                    "https://assets.runware.ai/assets/inputs/74e298d6-f048-4305-add4-e359950190c7.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": "6f03aa2e-8733-4a4f-adcb-afb72bcd2e74",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Create a polished personal press portrait using the reference image to preserve the subject’s recognizable facial identity, age, short silver hairstyle, and natural features. Portray her as an accomplished avant-garde theremin musician in a tailored ivory satin suit with sculptural shoulders and minimal silver jewelry, standing beside an elegant walnut theremin in a retrofuturist 1970s recording studio. Horizontal environmental portrait, three-quarter framing, subject positioned slightly left of center with one hand poised near the theremin antenna. Curved acoustic wall panels, translucent amber screens, cobalt-blue carpet, a few neatly routed analog cables, cinematic tungsten practical lights and a narrow cool-blue rim light. Sophisticated marigold, cobalt, ivory, and walnut palette; confident, enigmatic mood; realistic skin texture; subtle film grain; premium music editorial photography; 50mm lens character; shallow but readable depth of field; no lettering, logos, interface elements, or watermark.",
      "width": 2496,
      "height": 1664,
      "settings": {
        "quality": "medium"
      },
      "inputs": {
        "referenceImages": [
          "https://assets.runware.ai/assets/inputs/74e298d6-f048-4305-add4-e359950190c7.jpg"
        ]
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Create a polished personal press portrait using the reference image to preserve the subject’s recognizable facial identity, age, short silver hairstyle, and natural features. Portray her as an accomplished avant-garde theremin musician in a tailored ivory satin suit with sculptural shoulders and minimal silver jewelry, standing beside an elegant walnut theremin in a retrofuturist 1970s recording studio. Horizontal environmental portrait, three-quarter framing, subject positioned slightly left of center with one hand poised near the theremin antenna. Curved acoustic wall panels, translucent amber screens, cobalt-blue carpet, a few neatly routed analog cables, cinematic tungsten practical lights and a narrow cool-blue rim light. Sophisticated marigold, cobalt, ivory, and walnut palette; confident, enigmatic mood; realistic skin texture; subtle film grain; premium music editorial photography; 50mm lens character; shallow but readable depth of field; no lettering, logos, interface elements, or watermark." \
  width=2496 \
  height=1664 \
  settings.quality=medium \
  inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/74e298d6-f048-4305-add4-e359950190c7.jpg
{
  "taskType": "imageInference",
  "taskUUID": "6f03aa2e-8733-4a4f-adcb-afb72bcd2e74",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Create a polished personal press portrait using the reference image to preserve the subject’s recognizable facial identity, age, short silver hairstyle, and natural features. Portray her as an accomplished avant-garde theremin musician in a tailored ivory satin suit with sculptural shoulders and minimal silver jewelry, standing beside an elegant walnut theremin in a retrofuturist 1970s recording studio. Horizontal environmental portrait, three-quarter framing, subject positioned slightly left of center with one hand poised near the theremin antenna. Curved acoustic wall panels, translucent amber screens, cobalt-blue carpet, a few neatly routed analog cables, cinematic tungsten practical lights and a narrow cool-blue rim light. Sophisticated marigold, cobalt, ivory, and walnut palette; confident, enigmatic mood; realistic skin texture; subtle film grain; premium music editorial photography; 50mm lens character; shallow but readable depth of field; no lettering, logos, interface elements, or watermark.",
  "width": 2496,
  "height": 1664,
  "settings": {
    "quality": "medium"
  },
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/74e298d6-f048-4305-add4-e359950190c7.jpg"
    ]
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "6f03aa2e-8733-4a4f-adcb-afb72bcd2e74",
  "imageUUID": "54cb1ca2-ae2a-4fea-af6c-77938931246f",
  "imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/4/ii/54cb1ca2-ae2a-4fea-af6c-77938931246f.jpg",
  "seed": 1092379668,
  "cost": 0.08
}
Text to Image

Subsea Welding Instructor Profile Avatar

Subsea Welding Instructor Profile Avatar

Square stylized profile portrait of a confident female subsea welding instructor in her early 40s, shown from the shoulders up, facing slightly toward camera with a calm, capable expression. She wears a weathered commercial diving helmet pushed back like a hood, with a dark navy work suit and subtle brass fittings. Bold editorial screen-print illustration combining clean graphic shapes, fine stippled texture, deep ocean teal, oxidized copper, warm cream, and small coral-red accents. A simple abstract halo suggests sonar rings and underwater light without becoming a literal scene. Strong recognizable silhouette, expressive face, premium professional character design, centered composition with generous negative space and all important details inside a circular-crop safe area. No lettering, logo, watermark, interface, border, or photorealism.

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-2.0',
  positivePrompt: 'Square stylized profile portrait of a confident female subsea welding instructor in her early 40s, shown from the shoulders up, facing slightly toward camera with a calm, capable expression. She wears a weathered commercial diving helmet pushed back like a hood, with a dark navy work suit and subtle brass fittings. Bold editorial screen-print illustration combining clean graphic shapes, fine stippled texture, deep ocean teal, oxidized copper, warm cream, and small coral-red accents. A simple abstract halo suggests sonar rings and underwater light without becoming a literal scene. Strong recognizable silhouette, expressive face, premium professional character design, centered composition with generous negative space and all important details inside a circular-crop safe area. No lettering, logo, watermark, interface, border, or photorealism.',
  width: 1024,
  height: 1024,
  settings: {
    quality: 'medium'
  }
})
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-2.0",
            "positivePrompt": "Square stylized profile portrait of a confident female subsea welding instructor in her early 40s, shown from the shoulders up, facing slightly toward camera with a calm, capable expression. She wears a weathered commercial diving helmet pushed back like a hood, with a dark navy work suit and subtle brass fittings. Bold editorial screen-print illustration combining clean graphic shapes, fine stippled texture, deep ocean teal, oxidized copper, warm cream, and small coral-red accents. A simple abstract halo suggests sonar rings and underwater light without becoming a literal scene. Strong recognizable silhouette, expressive face, premium professional character design, centered composition with generous negative space and all important details inside a circular-crop safe area. No lettering, logo, watermark, interface, border, or photorealism.",
            "width": 1024,
            "height": 1024,
            "settings": {
                "quality": "medium"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "440a6645-064f-4c0c-8aaf-b0da3618a374",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Square stylized profile portrait of a confident female subsea welding instructor in her early 40s, shown from the shoulders up, facing slightly toward camera with a calm, capable expression. She wears a weathered commercial diving helmet pushed back like a hood, with a dark navy work suit and subtle brass fittings. Bold editorial screen-print illustration combining clean graphic shapes, fine stippled texture, deep ocean teal, oxidized copper, warm cream, and small coral-red accents. A simple abstract halo suggests sonar rings and underwater light without becoming a literal scene. Strong recognizable silhouette, expressive face, premium professional character design, centered composition with generous negative space and all important details inside a circular-crop safe area. No lettering, logo, watermark, interface, border, or photorealism.",
      "width": 1024,
      "height": 1024,
      "settings": {
        "quality": "medium"
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Square stylized profile portrait of a confident female subsea welding instructor in her early 40s, shown from the shoulders up, facing slightly toward camera with a calm, capable expression. She wears a weathered commercial diving helmet pushed back like a hood, with a dark navy work suit and subtle brass fittings. Bold editorial screen-print illustration combining clean graphic shapes, fine stippled texture, deep ocean teal, oxidized copper, warm cream, and small coral-red accents. A simple abstract halo suggests sonar rings and underwater light without becoming a literal scene. Strong recognizable silhouette, expressive face, premium professional character design, centered composition with generous negative space and all important details inside a circular-crop safe area. No lettering, logo, watermark, interface, border, or photorealism." \
  width=1024 \
  height=1024 \
  settings.quality=medium
{
  "taskType": "imageInference",
  "taskUUID": "440a6645-064f-4c0c-8aaf-b0da3618a374",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Square stylized profile portrait of a confident female subsea welding instructor in her early 40s, shown from the shoulders up, facing slightly toward camera with a calm, capable expression. She wears a weathered commercial diving helmet pushed back like a hood, with a dark navy work suit and subtle brass fittings. Bold editorial screen-print illustration combining clean graphic shapes, fine stippled texture, deep ocean teal, oxidized copper, warm cream, and small coral-red accents. A simple abstract halo suggests sonar rings and underwater light without becoming a literal scene. Strong recognizable silhouette, expressive face, premium professional character design, centered composition with generous negative space and all important details inside a circular-crop safe area. No lettering, logo, watermark, interface, border, or photorealism.",
  "width": 1024,
  "height": 1024,
  "settings": {
    "quality": "medium"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "440a6645-064f-4c0c-8aaf-b0da3618a374",
  "imageUUID": "2aa0ccc7-30b6-4da4-b94c-cce0c32d78e8",
  "imageURL": "https://im.runware.ai/image/os/a10dlim3/ws/3/ii/2aa0ccc7-30b6-4da4-b94c-cce0c32d78e8.jpg",
  "seed": 310209002,
  "cost": 0.05
}
Text to Image

Mangrove Restoration Children’s Book Page

Mangrove Restoration Children’s Book Page

Vertical full-bleed illustration for a nonfiction children’s picture book, ages 7–10, commissioned by a coastal resilience nonprofit. At low tide, a curious 9-year-old girl in rolled-up yellow waders works beside a female coastal engineer to plant a young mangrove sapling in warm tidal mud. Use a clear above-and-below-water cutaway composition: above the waterline, wind-bent mature mangroves shelter a small fishing village from distant waves; below the waterline, intricate roots hold sediment while juvenile snapper, shrimp, and a blue crab find refuge. The child gently steadies the sapling while the engineer presses mud around its roots, creating a warm focal moment of teamwork and discovery. Scientifically credible plants, tools, wildlife, and shoreline ecology. Contemporary hand-painted gouache and colored-pencil art direction with subtle screen-print texture, expressive naturalistic characters, layered teal, coral, ochre, and leaf-green palette, soft late-afternoon tropical light, strong vertical storytelling flow, readable silhouettes, inviting detail without clutter. Polished children’s publishing quality, no text, no captions, no speech bubbles, no logos, 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-2.0',
  positivePrompt: 'Vertical full-bleed illustration for a nonfiction children’s picture book, ages 7–10, commissioned by a coastal resilience nonprofit. At low tide, a curious 9-year-old girl in rolled-up yellow waders works beside a female coastal engineer to plant a young mangrove sapling in warm tidal mud. Use a clear above-and-below-water cutaway composition: above the waterline, wind-bent mature mangroves shelter a small fishing village from distant waves; below the waterline, intricate roots hold sediment while juvenile snapper, shrimp, and a blue crab find refuge. The child gently steadies the sapling while the engineer presses mud around its roots, creating a warm focal moment of teamwork and discovery. Scientifically credible plants, tools, wildlife, and shoreline ecology. Contemporary hand-painted gouache and colored-pencil art direction with subtle screen-print texture, expressive naturalistic characters, layered teal, coral, ochre, and leaf-green palette, soft late-afternoon tropical light, strong vertical storytelling flow, readable silhouettes, inviting detail without clutter. Polished children’s publishing quality, no text, no captions, no speech bubbles, no logos, no border.',
  width: 720,
  height: 1280,
  settings: {
    quality: 'medium'
  }
})
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-2.0",
            "positivePrompt": "Vertical full-bleed illustration for a nonfiction children’s picture book, ages 7–10, commissioned by a coastal resilience nonprofit. At low tide, a curious 9-year-old girl in rolled-up yellow waders works beside a female coastal engineer to plant a young mangrove sapling in warm tidal mud. Use a clear above-and-below-water cutaway composition: above the waterline, wind-bent mature mangroves shelter a small fishing village from distant waves; below the waterline, intricate roots hold sediment while juvenile snapper, shrimp, and a blue crab find refuge. The child gently steadies the sapling while the engineer presses mud around its roots, creating a warm focal moment of teamwork and discovery. Scientifically credible plants, tools, wildlife, and shoreline ecology. Contemporary hand-painted gouache and colored-pencil art direction with subtle screen-print texture, expressive naturalistic characters, layered teal, coral, ochre, and leaf-green palette, soft late-afternoon tropical light, strong vertical storytelling flow, readable silhouettes, inviting detail without clutter. Polished children’s publishing quality, no text, no captions, no speech bubbles, no logos, no border.",
            "width": 720,
            "height": 1280,
            "settings": {
                "quality": "medium"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "70c76eda-9148-4797-8033-84832d05b0ae",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Vertical full-bleed illustration for a nonfiction children’s picture book, ages 7–10, commissioned by a coastal resilience nonprofit. At low tide, a curious 9-year-old girl in rolled-up yellow waders works beside a female coastal engineer to plant a young mangrove sapling in warm tidal mud. Use a clear above-and-below-water cutaway composition: above the waterline, wind-bent mature mangroves shelter a small fishing village from distant waves; below the waterline, intricate roots hold sediment while juvenile snapper, shrimp, and a blue crab find refuge. The child gently steadies the sapling while the engineer presses mud around its roots, creating a warm focal moment of teamwork and discovery. Scientifically credible plants, tools, wildlife, and shoreline ecology. Contemporary hand-painted gouache and colored-pencil art direction with subtle screen-print texture, expressive naturalistic characters, layered teal, coral, ochre, and leaf-green palette, soft late-afternoon tropical light, strong vertical storytelling flow, readable silhouettes, inviting detail without clutter. Polished children’s publishing quality, no text, no captions, no speech bubbles, no logos, no border.",
      "width": 720,
      "height": 1280,
      "settings": {
        "quality": "medium"
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Vertical full-bleed illustration for a nonfiction children’s picture book, ages 7–10, commissioned by a coastal resilience nonprofit. At low tide, a curious 9-year-old girl in rolled-up yellow waders works beside a female coastal engineer to plant a young mangrove sapling in warm tidal mud. Use a clear above-and-below-water cutaway composition: above the waterline, wind-bent mature mangroves shelter a small fishing village from distant waves; below the waterline, intricate roots hold sediment while juvenile snapper, shrimp, and a blue crab find refuge. The child gently steadies the sapling while the engineer presses mud around its roots, creating a warm focal moment of teamwork and discovery. Scientifically credible plants, tools, wildlife, and shoreline ecology. Contemporary hand-painted gouache and colored-pencil art direction with subtle screen-print texture, expressive naturalistic characters, layered teal, coral, ochre, and leaf-green palette, soft late-afternoon tropical light, strong vertical storytelling flow, readable silhouettes, inviting detail without clutter. Polished children’s publishing quality, no text, no captions, no speech bubbles, no logos, no border." \
  width=720 \
  height=1280 \
  settings.quality=medium
{
  "taskType": "imageInference",
  "taskUUID": "70c76eda-9148-4797-8033-84832d05b0ae",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Vertical full-bleed illustration for a nonfiction children’s picture book, ages 7–10, commissioned by a coastal resilience nonprofit. At low tide, a curious 9-year-old girl in rolled-up yellow waders works beside a female coastal engineer to plant a young mangrove sapling in warm tidal mud. Use a clear above-and-below-water cutaway composition: above the waterline, wind-bent mature mangroves shelter a small fishing village from distant waves; below the waterline, intricate roots hold sediment while juvenile snapper, shrimp, and a blue crab find refuge. The child gently steadies the sapling while the engineer presses mud around its roots, creating a warm focal moment of teamwork and discovery. Scientifically credible plants, tools, wildlife, and shoreline ecology. Contemporary hand-painted gouache and colored-pencil art direction with subtle screen-print texture, expressive naturalistic characters, layered teal, coral, ochre, and leaf-green palette, soft late-afternoon tropical light, strong vertical storytelling flow, readable silhouettes, inviting detail without clutter. Polished children’s publishing quality, no text, no captions, no speech bubbles, no logos, no border.",
  "width": 720,
  "height": 1280,
  "settings": {
    "quality": "medium"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "70c76eda-9148-4797-8033-84832d05b0ae",
  "imageUUID": "b045f213-c3b4-43d5-96fc-5902dbe41176",
  "imageURL": "https://im.runware.ai/image/os/a02d21/ws/3/ii/b045f213-c3b4-43d5-96fc-5902dbe41176.jpg",
  "seed": 236812604,
  "cost": 0.05
}
Text to Image

Deep-Sea Robotics Engineer Portrait

Deep-Sea Robotics Engineer Portrait

Professional editorial portrait of a female deep-sea robotics engineer in her early 40s, framed from mid-chest upward inside a working marine robotics laboratory. She wears a clean navy technical overshirt over a pale blue crew-neck shirt, with understated safety glasses resting on her head. Calm, capable expression and direct eye contact with the camera. A yellow autonomous underwater vehicle and neatly organized pressure housings appear softly out of focus behind her, providing authentic occupational context without distracting from her face. Horizontal 16:9 composition, subject positioned slightly left of center with clean negative space on the right for flexible editorial cropping. Soft directional key light through a large diffusion frame, subtle cool rim light, natural skin texture, realistic pores, accurate hands and facial anatomy, restrained teal and steel color palette with small yellow accents, shallow depth of field, premium corporate editorial photography, 85mm portrait-lens look, crisp eyes, polished but credible, no text, no logos, no watermark

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-2.0',
  positivePrompt: 'Professional editorial portrait of a female deep-sea robotics engineer in her early 40s, framed from mid-chest upward inside a working marine robotics laboratory. She wears a clean navy technical overshirt over a pale blue crew-neck shirt, with understated safety glasses resting on her head. Calm, capable expression and direct eye contact with the camera. A yellow autonomous underwater vehicle and neatly organized pressure housings appear softly out of focus behind her, providing authentic occupational context without distracting from her face. Horizontal 16:9 composition, subject positioned slightly left of center with clean negative space on the right for flexible editorial cropping. Soft directional key light through a large diffusion frame, subtle cool rim light, natural skin texture, realistic pores, accurate hands and facial anatomy, restrained teal and steel color palette with small yellow accents, shallow depth of field, premium corporate editorial photography, 85mm portrait-lens look, crisp eyes, polished but credible, no text, no logos, no watermark',
  width: 1280,
  height: 720,
  settings: {
    quality: 'medium'
  }
})
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-2.0",
            "positivePrompt": "Professional editorial portrait of a female deep-sea robotics engineer in her early 40s, framed from mid-chest upward inside a working marine robotics laboratory. She wears a clean navy technical overshirt over a pale blue crew-neck shirt, with understated safety glasses resting on her head. Calm, capable expression and direct eye contact with the camera. A yellow autonomous underwater vehicle and neatly organized pressure housings appear softly out of focus behind her, providing authentic occupational context without distracting from her face. Horizontal 16:9 composition, subject positioned slightly left of center with clean negative space on the right for flexible editorial cropping. Soft directional key light through a large diffusion frame, subtle cool rim light, natural skin texture, realistic pores, accurate hands and facial anatomy, restrained teal and steel color palette with small yellow accents, shallow depth of field, premium corporate editorial photography, 85mm portrait-lens look, crisp eyes, polished but credible, no text, no logos, no watermark",
            "width": 1280,
            "height": 720,
            "settings": {
                "quality": "medium"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "66a961b1-f3b5-48f4-b307-05aeebcbb7ad",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Professional editorial portrait of a female deep-sea robotics engineer in her early 40s, framed from mid-chest upward inside a working marine robotics laboratory. She wears a clean navy technical overshirt over a pale blue crew-neck shirt, with understated safety glasses resting on her head. Calm, capable expression and direct eye contact with the camera. A yellow autonomous underwater vehicle and neatly organized pressure housings appear softly out of focus behind her, providing authentic occupational context without distracting from her face. Horizontal 16:9 composition, subject positioned slightly left of center with clean negative space on the right for flexible editorial cropping. Soft directional key light through a large diffusion frame, subtle cool rim light, natural skin texture, realistic pores, accurate hands and facial anatomy, restrained teal and steel color palette with small yellow accents, shallow depth of field, premium corporate editorial photography, 85mm portrait-lens look, crisp eyes, polished but credible, no text, no logos, no watermark",
      "width": 1280,
      "height": 720,
      "settings": {
        "quality": "medium"
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Professional editorial portrait of a female deep-sea robotics engineer in her early 40s, framed from mid-chest upward inside a working marine robotics laboratory. She wears a clean navy technical overshirt over a pale blue crew-neck shirt, with understated safety glasses resting on her head. Calm, capable expression and direct eye contact with the camera. A yellow autonomous underwater vehicle and neatly organized pressure housings appear softly out of focus behind her, providing authentic occupational context without distracting from her face. Horizontal 16:9 composition, subject positioned slightly left of center with clean negative space on the right for flexible editorial cropping. Soft directional key light through a large diffusion frame, subtle cool rim light, natural skin texture, realistic pores, accurate hands and facial anatomy, restrained teal and steel color palette with small yellow accents, shallow depth of field, premium corporate editorial photography, 85mm portrait-lens look, crisp eyes, polished but credible, no text, no logos, no watermark" \
  width=1280 \
  height=720 \
  settings.quality=medium
{
  "taskType": "imageInference",
  "taskUUID": "66a961b1-f3b5-48f4-b307-05aeebcbb7ad",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Professional editorial portrait of a female deep-sea robotics engineer in her early 40s, framed from mid-chest upward inside a working marine robotics laboratory. She wears a clean navy technical overshirt over a pale blue crew-neck shirt, with understated safety glasses resting on her head. Calm, capable expression and direct eye contact with the camera. A yellow autonomous underwater vehicle and neatly organized pressure housings appear softly out of focus behind her, providing authentic occupational context without distracting from her face. Horizontal 16:9 composition, subject positioned slightly left of center with clean negative space on the right for flexible editorial cropping. Soft directional key light through a large diffusion frame, subtle cool rim light, natural skin texture, realistic pores, accurate hands and facial anatomy, restrained teal and steel color palette with small yellow accents, shallow depth of field, premium corporate editorial photography, 85mm portrait-lens look, crisp eyes, polished but credible, no text, no logos, no watermark",
  "width": 1280,
  "height": 720,
  "settings": {
    "quality": "medium"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "66a961b1-f3b5-48f4-b307-05aeebcbb7ad",
  "imageUUID": "43c2e958-3258-4786-8bc5-71841df548ea",
  "imageURL": "https://im.runware.ai/image/os/a06dlim3/ws/3/ii/43c2e958-3258-4786-8bc5-71841df548ea.jpg",
  "seed": 2052986452,
  "cost": 0.05
}
Text to Image

Koji Fermentation Blog Hero

Koji Fermentation Blog Hero

Premium editorial blog hero image for a food-technology publication covering koji-fermented cocoa alternatives. Overhead three-quarter view of a stainless-steel fermentation table holding shallow cedar trays filled with pale grains covered in delicate white koji mycelium, beside a small mound of rich dark cocoa-like powder and broken tasting pieces. A food scientist's gloved hands carefully lift one tray into frame, suggesting active research without showing a face. Precise geometric arrangement, tactile macro detail, subtle wisps of steam, warm saffron and burgundy accents against cool brushed steel, soft directional window light, sophisticated contemporary food photography with a restrained Japanese editorial influence. Strong central subject, uncluttered negative space in the upper-left for an article headline added later, square composition, photorealistic, publication-ready, no text, no labels, no logos, no interface elements.

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-2.0',
  positivePrompt: 'Premium editorial blog hero image for a food-technology publication covering koji-fermented cocoa alternatives. Overhead three-quarter view of a stainless-steel fermentation table holding shallow cedar trays filled with pale grains covered in delicate white koji mycelium, beside a small mound of rich dark cocoa-like powder and broken tasting pieces. A food scientist\'s gloved hands carefully lift one tray into frame, suggesting active research without showing a face. Precise geometric arrangement, tactile macro detail, subtle wisps of steam, warm saffron and burgundy accents against cool brushed steel, soft directional window light, sophisticated contemporary food photography with a restrained Japanese editorial influence. Strong central subject, uncluttered negative space in the upper-left for an article headline added later, square composition, photorealistic, publication-ready, no text, no labels, no logos, no interface elements.',
  width: 1024,
  height: 1024,
  settings: {
    quality: 'medium'
  }
})
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-2.0",
            "positivePrompt": "Premium editorial blog hero image for a food-technology publication covering koji-fermented cocoa alternatives. Overhead three-quarter view of a stainless-steel fermentation table holding shallow cedar trays filled with pale grains covered in delicate white koji mycelium, beside a small mound of rich dark cocoa-like powder and broken tasting pieces. A food scientist's gloved hands carefully lift one tray into frame, suggesting active research without showing a face. Precise geometric arrangement, tactile macro detail, subtle wisps of steam, warm saffron and burgundy accents against cool brushed steel, soft directional window light, sophisticated contemporary food photography with a restrained Japanese editorial influence. Strong central subject, uncluttered negative space in the upper-left for an article headline added later, square composition, photorealistic, publication-ready, no text, no labels, no logos, no interface elements.",
            "width": 1024,
            "height": 1024,
            "settings": {
                "quality": "medium"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "335a0b76-e002-48ed-9738-82e51e207322",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "Premium editorial blog hero image for a food-technology publication covering koji-fermented cocoa alternatives. Overhead three-quarter view of a stainless-steel fermentation table holding shallow cedar trays filled with pale grains covered in delicate white koji mycelium, beside a small mound of rich dark cocoa-like powder and broken tasting pieces. A food scientist's gloved hands carefully lift one tray into frame, suggesting active research without showing a face. Precise geometric arrangement, tactile macro detail, subtle wisps of steam, warm saffron and burgundy accents against cool brushed steel, soft directional window light, sophisticated contemporary food photography with a restrained Japanese editorial influence. Strong central subject, uncluttered negative space in the upper-left for an article headline added later, square composition, photorealistic, publication-ready, no text, no labels, no logos, no interface elements.",
      "width": 1024,
      "height": 1024,
      "settings": {
        "quality": "medium"
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="Premium editorial blog hero image for a food-technology publication covering koji-fermented cocoa alternatives. Overhead three-quarter view of a stainless-steel fermentation table holding shallow cedar trays filled with pale grains covered in delicate white koji mycelium, beside a small mound of rich dark cocoa-like powder and broken tasting pieces. A food scientist's gloved hands carefully lift one tray into frame, suggesting active research without showing a face. Precise geometric arrangement, tactile macro detail, subtle wisps of steam, warm saffron and burgundy accents against cool brushed steel, soft directional window light, sophisticated contemporary food photography with a restrained Japanese editorial influence. Strong central subject, uncluttered negative space in the upper-left for an article headline added later, square composition, photorealistic, publication-ready, no text, no labels, no logos, no interface elements." \
  width=1024 \
  height=1024 \
  settings.quality=medium
{
  "taskType": "imageInference",
  "taskUUID": "335a0b76-e002-48ed-9738-82e51e207322",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "Premium editorial blog hero image for a food-technology publication covering koji-fermented cocoa alternatives. Overhead three-quarter view of a stainless-steel fermentation table holding shallow cedar trays filled with pale grains covered in delicate white koji mycelium, beside a small mound of rich dark cocoa-like powder and broken tasting pieces. A food scientist's gloved hands carefully lift one tray into frame, suggesting active research without showing a face. Precise geometric arrangement, tactile macro detail, subtle wisps of steam, warm saffron and burgundy accents against cool brushed steel, soft directional window light, sophisticated contemporary food photography with a restrained Japanese editorial influence. Strong central subject, uncluttered negative space in the upper-left for an article headline added later, square composition, photorealistic, publication-ready, no text, no labels, no logos, no interface elements.",
  "width": 1024,
  "height": 1024,
  "settings": {
    "quality": "medium"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "335a0b76-e002-48ed-9738-82e51e207322",
  "imageUUID": "15ddceb5-6e2a-4721-9b8e-ca75543f2c5f",
  "imageURL": "https://im.runware.ai/image/os/a08dlim3/ws/3/ii/15ddceb5-6e2a-4721-9b8e-ca75543f2c5f.jpg",
  "seed": 2009667091,
  "cost": 0.05
}
Text to Image

Restored Desert Tracking Station Photograph

Restored Desert Tracking Station Photograph

A professionally restored and historically plausible colorized archival photograph from 1967 documenting a remote satellite tracking station in the Australian outback. Wide panoramic composition: a large white parabolic radio dish angled toward the sky, a low corrugated-metal operations building, period utility trucks, cable drums, and five technicians in pale short-sleeve work shirts and khaki trousers standing naturally beside the equipment. Red desert soil, sparse eucalyptus scrub, dry winter grass, distant low hills, clear late-afternoon sunlight with long soft shadows. Authentic mid-century documentary photography, restrained hand-colorized palette, subtle fine film grain, slightly softened vintage optics, natural skin tones, accurate period materials and clothing. Present the photograph after meticulous conservation: repaired tears and creases, removed dust and chemical stains, reconstructed missing corners, balanced fading and exposure, faces and machinery preserved without looking artificially sharpened. Clean edge-to-edge finished photograph with no border, caption, watermark, modern objects, or text.

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-2.0',
  positivePrompt: 'A professionally restored and historically plausible colorized archival photograph from 1967 documenting a remote satellite tracking station in the Australian outback. Wide panoramic composition: a large white parabolic radio dish angled toward the sky, a low corrugated-metal operations building, period utility trucks, cable drums, and five technicians in pale short-sleeve work shirts and khaki trousers standing naturally beside the equipment. Red desert soil, sparse eucalyptus scrub, dry winter grass, distant low hills, clear late-afternoon sunlight with long soft shadows. Authentic mid-century documentary photography, restrained hand-colorized palette, subtle fine film grain, slightly softened vintage optics, natural skin tones, accurate period materials and clothing. Present the photograph after meticulous conservation: repaired tears and creases, removed dust and chemical stains, reconstructed missing corners, balanced fading and exposure, faces and machinery preserved without looking artificially sharpened. Clean edge-to-edge finished photograph with no border, caption, watermark, modern objects, or text.',
  width: 2816,
  height: 1584,
  settings: {
    quality: 'medium'
  }
})
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-2.0",
            "positivePrompt": "A professionally restored and historically plausible colorized archival photograph from 1967 documenting a remote satellite tracking station in the Australian outback. Wide panoramic composition: a large white parabolic radio dish angled toward the sky, a low corrugated-metal operations building, period utility trucks, cable drums, and five technicians in pale short-sleeve work shirts and khaki trousers standing naturally beside the equipment. Red desert soil, sparse eucalyptus scrub, dry winter grass, distant low hills, clear late-afternoon sunlight with long soft shadows. Authentic mid-century documentary photography, restrained hand-colorized palette, subtle fine film grain, slightly softened vintage optics, natural skin tones, accurate period materials and clothing. Present the photograph after meticulous conservation: repaired tears and creases, removed dust and chemical stains, reconstructed missing corners, balanced fading and exposure, faces and machinery preserved without looking artificially sharpened. Clean edge-to-edge finished photograph with no border, caption, watermark, modern objects, or text.",
            "width": 2816,
            "height": 1584,
            "settings": {
                "quality": "medium"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "f17e720e-4790-4160-9e54-c06177ef4edc",
      "model": "xai:grok-imagine@image-2.0",
      "positivePrompt": "A professionally restored and historically plausible colorized archival photograph from 1967 documenting a remote satellite tracking station in the Australian outback. Wide panoramic composition: a large white parabolic radio dish angled toward the sky, a low corrugated-metal operations building, period utility trucks, cable drums, and five technicians in pale short-sleeve work shirts and khaki trousers standing naturally beside the equipment. Red desert soil, sparse eucalyptus scrub, dry winter grass, distant low hills, clear late-afternoon sunlight with long soft shadows. Authentic mid-century documentary photography, restrained hand-colorized palette, subtle fine film grain, slightly softened vintage optics, natural skin tones, accurate period materials and clothing. Present the photograph after meticulous conservation: repaired tears and creases, removed dust and chemical stains, reconstructed missing corners, balanced fading and exposure, faces and machinery preserved without looking artificially sharpened. Clean edge-to-edge finished photograph with no border, caption, watermark, modern objects, or text.",
      "width": 2816,
      "height": 1584,
      "settings": {
        "quality": "medium"
      }
    }
  ]'
runware run xai:grok-imagine@image-2.0 \
  positivePrompt="A professionally restored and historically plausible colorized archival photograph from 1967 documenting a remote satellite tracking station in the Australian outback. Wide panoramic composition: a large white parabolic radio dish angled toward the sky, a low corrugated-metal operations building, period utility trucks, cable drums, and five technicians in pale short-sleeve work shirts and khaki trousers standing naturally beside the equipment. Red desert soil, sparse eucalyptus scrub, dry winter grass, distant low hills, clear late-afternoon sunlight with long soft shadows. Authentic mid-century documentary photography, restrained hand-colorized palette, subtle fine film grain, slightly softened vintage optics, natural skin tones, accurate period materials and clothing. Present the photograph after meticulous conservation: repaired tears and creases, removed dust and chemical stains, reconstructed missing corners, balanced fading and exposure, faces and machinery preserved without looking artificially sharpened. Clean edge-to-edge finished photograph with no border, caption, watermark, modern objects, or text." \
  width=2816 \
  height=1584 \
  settings.quality=medium
{
  "taskType": "imageInference",
  "taskUUID": "f17e720e-4790-4160-9e54-c06177ef4edc",
  "model": "xai:grok-imagine@image-2.0",
  "positivePrompt": "A professionally restored and historically plausible colorized archival photograph from 1967 documenting a remote satellite tracking station in the Australian outback. Wide panoramic composition: a large white parabolic radio dish angled toward the sky, a low corrugated-metal operations building, period utility trucks, cable drums, and five technicians in pale short-sleeve work shirts and khaki trousers standing naturally beside the equipment. Red desert soil, sparse eucalyptus scrub, dry winter grass, distant low hills, clear late-afternoon sunlight with long soft shadows. Authentic mid-century documentary photography, restrained hand-colorized palette, subtle fine film grain, slightly softened vintage optics, natural skin tones, accurate period materials and clothing. Present the photograph after meticulous conservation: repaired tears and creases, removed dust and chemical stains, reconstructed missing corners, balanced fading and exposure, faces and machinery preserved without looking artificially sharpened. Clean edge-to-edge finished photograph with no border, caption, watermark, modern objects, or text.",
  "width": 2816,
  "height": 1584,
  "settings": {
    "quality": "medium"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "f17e720e-4790-4160-9e54-c06177ef4edc",
  "imageUUID": "e852e9d1-5783-4c08-97fe-79577fa2b5b6",
  "imageURL": "https://im.runware.ai/image/os/a02d21/ws/4/ii/e852e9d1-5783-4c08-97fe-79577fa2b5b6.jpg",
  "seed": 249036018,
  "cost": 0.07
}