live
MODEL IDbaidu:ernie-image@turbo

ERNIE-Image-Turbo

Baidu
by
Available with Zero Data Retention

ERNIE-Image-Turbo is Baidu's distilled fast variant of ERNIE-Image. It is optimized for substantially faster generation, typically requiring only 8 inference steps, while retaining relatively comparable performance to the full model in many scenarios. It is best suited to high-throughput ideation, rapid visual iteration, and workflows that prioritize speed and polished aesthetics over the stronger general-purpose instruction fidelity of the base model.

ERNIE-Image-Turbo

text-to-image

Regenerative Wool Insulation Key Visual$0.0019~27s
Regenerative Wool Insulation Key Visual

Premium brand marketing campaign key visual for regenerative sheep-wool building insulation. One large house-shaped monolith centered in a minimalist studio, constructed entirely from densely compressed layers of natural wool; a precise cutaway reveals rippling strata of cream, oat, rust, and charcoal fibers, with individual curls, felted edges, and tiny airborne filaments rendered in exquisite macro detail. The simple pitched-roof silhouette reads instantly as a home while remaining sculptural and sophisticated. Deep aubergine seamless backdrop and floor, generous clean negative space around the subject for flexible campaign layout, no text or logo. Warm low-angle sunlight passes across the wool layers, creating a luminous amber edge and long soft shadow; subtle cool fill light preserves detail in the charcoal fibers. Straight-on composition with a slight elevated perspective, refined editorial still-life photography, tactile material realism, restrained earthy palette, calm protective mood, polished global brand aesthetic, sharp focus, high dynamic range.

Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'baidu:ernie-image@turbo',
  positivePrompt: 'Premium brand marketing campaign key visual for regenerative sheep-wool building insulation. One large house-shaped monolith centered in a minimalist studio, constructed entirely from densely compressed layers of natural wool; a precise cutaway reveals rippling strata of cream, oat, rust, and charcoal fibers, with individual curls, felted edges, and tiny airborne filaments rendered in exquisite macro detail. The simple pitched-roof silhouette reads instantly as a home while remaining sculptural and sophisticated. Deep aubergine seamless backdrop and floor, generous clean negative space around the subject for flexible campaign layout, no text or logo. Warm low-angle sunlight passes across the wool layers, creating a luminous amber edge and long soft shadow; subtle cool fill light preserves detail in the charcoal fibers. Straight-on composition with a slight elevated perspective, refined editorial still-life photography, tactile material realism, restrained earthy palette, calm protective mood, polished global brand aesthetic, sharp focus, high dynamic range.',
  width: 1024,
  height: 1024,
  steps: 8
})
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": "baidu:ernie-image@turbo",
            "positivePrompt": "Premium brand marketing campaign key visual for regenerative sheep-wool building insulation. One large house-shaped monolith centered in a minimalist studio, constructed entirely from densely compressed layers of natural wool; a precise cutaway reveals rippling strata of cream, oat, rust, and charcoal fibers, with individual curls, felted edges, and tiny airborne filaments rendered in exquisite macro detail. The simple pitched-roof silhouette reads instantly as a home while remaining sculptural and sophisticated. Deep aubergine seamless backdrop and floor, generous clean negative space around the subject for flexible campaign layout, no text or logo. Warm low-angle sunlight passes across the wool layers, creating a luminous amber edge and long soft shadow; subtle cool fill light preserves detail in the charcoal fibers. Straight-on composition with a slight elevated perspective, refined editorial still-life photography, tactile material realism, restrained earthy palette, calm protective mood, polished global brand aesthetic, sharp focus, high dynamic range.",
            "width": 1024,
            "height": 1024,
            "steps": 8
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "6a7cff39-0793-4e64-ad92-5db0a276c188",
      "model": "baidu:ernie-image@turbo",
      "positivePrompt": "Premium brand marketing campaign key visual for regenerative sheep-wool building insulation. One large house-shaped monolith centered in a minimalist studio, constructed entirely from densely compressed layers of natural wool; a precise cutaway reveals rippling strata of cream, oat, rust, and charcoal fibers, with individual curls, felted edges, and tiny airborne filaments rendered in exquisite macro detail. The simple pitched-roof silhouette reads instantly as a home while remaining sculptural and sophisticated. Deep aubergine seamless backdrop and floor, generous clean negative space around the subject for flexible campaign layout, no text or logo. Warm low-angle sunlight passes across the wool layers, creating a luminous amber edge and long soft shadow; subtle cool fill light preserves detail in the charcoal fibers. Straight-on composition with a slight elevated perspective, refined editorial still-life photography, tactile material realism, restrained earthy palette, calm protective mood, polished global brand aesthetic, sharp focus, high dynamic range.",
      "width": 1024,
      "height": 1024,
      "steps": 8
    }
  ]'
runware run baidu:ernie-image@turbo \
  positivePrompt="Premium brand marketing campaign key visual for regenerative sheep-wool building insulation. One large house-shaped monolith centered in a minimalist studio, constructed entirely from densely compressed layers of natural wool; a precise cutaway reveals rippling strata of cream, oat, rust, and charcoal fibers, with individual curls, felted edges, and tiny airborne filaments rendered in exquisite macro detail. The simple pitched-roof silhouette reads instantly as a home while remaining sculptural and sophisticated. Deep aubergine seamless backdrop and floor, generous clean negative space around the subject for flexible campaign layout, no text or logo. Warm low-angle sunlight passes across the wool layers, creating a luminous amber edge and long soft shadow; subtle cool fill light preserves detail in the charcoal fibers. Straight-on composition with a slight elevated perspective, refined editorial still-life photography, tactile material realism, restrained earthy palette, calm protective mood, polished global brand aesthetic, sharp focus, high dynamic range." \
  width=1024 \
  height=1024 \
  steps=8
{
  "taskType": "imageInference",
  "taskUUID": "6a7cff39-0793-4e64-ad92-5db0a276c188",
  "model": "baidu:ernie-image@turbo",
  "positivePrompt": "Premium brand marketing campaign key visual for regenerative sheep-wool building insulation. One large house-shaped monolith centered in a minimalist studio, constructed entirely from densely compressed layers of natural wool; a precise cutaway reveals rippling strata of cream, oat, rust, and charcoal fibers, with individual curls, felted edges, and tiny airborne filaments rendered in exquisite macro detail. The simple pitched-roof silhouette reads instantly as a home while remaining sculptural and sophisticated. Deep aubergine seamless backdrop and floor, generous clean negative space around the subject for flexible campaign layout, no text or logo. Warm low-angle sunlight passes across the wool layers, creating a luminous amber edge and long soft shadow; subtle cool fill light preserves detail in the charcoal fibers. Straight-on composition with a slight elevated perspective, refined editorial still-life photography, tactile material realism, restrained earthy palette, calm protective mood, polished global brand aesthetic, sharp focus, high dynamic range.",
  "width": 1024,
  "height": 1024,
  "steps": 8
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "6a7cff39-0793-4e64-ad92-5db0a276c188",
  "imageUUID": "d028277a-ebca-44a2-9220-5e47e4664b2e",
  "imageURL": "https://im.runware.ai/image/os/a02d21/ws/3/ii/d028277a-ebca-44a2-9220-5e47e4664b2e.jpg",
  "seed": 2052519646,
  "cost": 0.0019
}

text-to-image

Geothermal Drilling Campaign Key Visual$0.0019~30s
Geothermal Drilling Campaign Key Visual

Premium brand marketing campaign key visual for the geothermal energy industry. One massive tungsten-carbide geothermal drill bit stands vertically at the center, viewed from a slightly low three-quarter angle, its machined steel body emerging from a clean circular fracture in dark volcanic rock. The drill bit is the only hero subject, engineered and credible rather than futuristic, with intricate cutting teeth, fine machining marks, restrained wear, mineral dust, and tiny beads of condensation rendered in exceptional detail. Thin glowing seams of natural amber geothermal heat radiate through the surrounding basalt without flames or lava, suggesting energy beneath the surface. Dramatic warm light rises from below while a narrow cool white rim light defines the metal silhouette; deep charcoal shadows, gunmetal silver, burnt orange, and subtle mineral green palette. Bold centered composition with generous uncluttered negative space in the upper left for campaign copy, crisp commercial art direction, tactile photorealism, sophisticated industrial advertising, controlled atmospheric dust, high contrast, polished large-format finish, no people, no lettering, no logos, no interface, square format.

Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'baidu:ernie-image@turbo',
  positivePrompt: 'Premium brand marketing campaign key visual for the geothermal energy industry. One massive tungsten-carbide geothermal drill bit stands vertically at the center, viewed from a slightly low three-quarter angle, its machined steel body emerging from a clean circular fracture in dark volcanic rock. The drill bit is the only hero subject, engineered and credible rather than futuristic, with intricate cutting teeth, fine machining marks, restrained wear, mineral dust, and tiny beads of condensation rendered in exceptional detail. Thin glowing seams of natural amber geothermal heat radiate through the surrounding basalt without flames or lava, suggesting energy beneath the surface. Dramatic warm light rises from below while a narrow cool white rim light defines the metal silhouette; deep charcoal shadows, gunmetal silver, burnt orange, and subtle mineral green palette. Bold centered composition with generous uncluttered negative space in the upper left for campaign copy, crisp commercial art direction, tactile photorealism, sophisticated industrial advertising, controlled atmospheric dust, high contrast, polished large-format finish, no people, no lettering, no logos, no interface, square format.',
  width: 1024,
  height: 1024,
  steps: 8
})
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": "baidu:ernie-image@turbo",
            "positivePrompt": "Premium brand marketing campaign key visual for the geothermal energy industry. One massive tungsten-carbide geothermal drill bit stands vertically at the center, viewed from a slightly low three-quarter angle, its machined steel body emerging from a clean circular fracture in dark volcanic rock. The drill bit is the only hero subject, engineered and credible rather than futuristic, with intricate cutting teeth, fine machining marks, restrained wear, mineral dust, and tiny beads of condensation rendered in exceptional detail. Thin glowing seams of natural amber geothermal heat radiate through the surrounding basalt without flames or lava, suggesting energy beneath the surface. Dramatic warm light rises from below while a narrow cool white rim light defines the metal silhouette; deep charcoal shadows, gunmetal silver, burnt orange, and subtle mineral green palette. Bold centered composition with generous uncluttered negative space in the upper left for campaign copy, crisp commercial art direction, tactile photorealism, sophisticated industrial advertising, controlled atmospheric dust, high contrast, polished large-format finish, no people, no lettering, no logos, no interface, square format.",
            "width": 1024,
            "height": 1024,
            "steps": 8
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "24208c3c-62bd-4cda-a81e-05b25831f1a4",
      "model": "baidu:ernie-image@turbo",
      "positivePrompt": "Premium brand marketing campaign key visual for the geothermal energy industry. One massive tungsten-carbide geothermal drill bit stands vertically at the center, viewed from a slightly low three-quarter angle, its machined steel body emerging from a clean circular fracture in dark volcanic rock. The drill bit is the only hero subject, engineered and credible rather than futuristic, with intricate cutting teeth, fine machining marks, restrained wear, mineral dust, and tiny beads of condensation rendered in exceptional detail. Thin glowing seams of natural amber geothermal heat radiate through the surrounding basalt without flames or lava, suggesting energy beneath the surface. Dramatic warm light rises from below while a narrow cool white rim light defines the metal silhouette; deep charcoal shadows, gunmetal silver, burnt orange, and subtle mineral green palette. Bold centered composition with generous uncluttered negative space in the upper left for campaign copy, crisp commercial art direction, tactile photorealism, sophisticated industrial advertising, controlled atmospheric dust, high contrast, polished large-format finish, no people, no lettering, no logos, no interface, square format.",
      "width": 1024,
      "height": 1024,
      "steps": 8
    }
  ]'
runware run baidu:ernie-image@turbo \
  positivePrompt="Premium brand marketing campaign key visual for the geothermal energy industry. One massive tungsten-carbide geothermal drill bit stands vertically at the center, viewed from a slightly low three-quarter angle, its machined steel body emerging from a clean circular fracture in dark volcanic rock. The drill bit is the only hero subject, engineered and credible rather than futuristic, with intricate cutting teeth, fine machining marks, restrained wear, mineral dust, and tiny beads of condensation rendered in exceptional detail. Thin glowing seams of natural amber geothermal heat radiate through the surrounding basalt without flames or lava, suggesting energy beneath the surface. Dramatic warm light rises from below while a narrow cool white rim light defines the metal silhouette; deep charcoal shadows, gunmetal silver, burnt orange, and subtle mineral green palette. Bold centered composition with generous uncluttered negative space in the upper left for campaign copy, crisp commercial art direction, tactile photorealism, sophisticated industrial advertising, controlled atmospheric dust, high contrast, polished large-format finish, no people, no lettering, no logos, no interface, square format." \
  width=1024 \
  height=1024 \
  steps=8
{
  "taskType": "imageInference",
  "taskUUID": "24208c3c-62bd-4cda-a81e-05b25831f1a4",
  "model": "baidu:ernie-image@turbo",
  "positivePrompt": "Premium brand marketing campaign key visual for the geothermal energy industry. One massive tungsten-carbide geothermal drill bit stands vertically at the center, viewed from a slightly low three-quarter angle, its machined steel body emerging from a clean circular fracture in dark volcanic rock. The drill bit is the only hero subject, engineered and credible rather than futuristic, with intricate cutting teeth, fine machining marks, restrained wear, mineral dust, and tiny beads of condensation rendered in exceptional detail. Thin glowing seams of natural amber geothermal heat radiate through the surrounding basalt without flames or lava, suggesting energy beneath the surface. Dramatic warm light rises from below while a narrow cool white rim light defines the metal silhouette; deep charcoal shadows, gunmetal silver, burnt orange, and subtle mineral green palette. Bold centered composition with generous uncluttered negative space in the upper left for campaign copy, crisp commercial art direction, tactile photorealism, sophisticated industrial advertising, controlled atmospheric dust, high contrast, polished large-format finish, no people, no lettering, no logos, no interface, square format.",
  "width": 1024,
  "height": 1024,
  "steps": 8
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "24208c3c-62bd-4cda-a81e-05b25831f1a4",
  "imageUUID": "230ae869-3406-47d5-af3b-1f728036cd40",
  "imageURL": "https://im.runware.ai/image/os/a09dlim3/ws/3/ii/230ae869-3406-47d5-af3b-1f728036cd40.jpg",
  "seed": 1280634828,
  "cost": 0.0019
}

text-to-image

Volcanologist Social Profile Avatar$0.0019~27s
Volcanologist Social Profile Avatar

Stylized professional profile avatar of a field volcanologist, centered head-and-shoulders composition designed to remain readable in a circular crop. A confident woman in her early forties wears a matte charcoal climbing helmet, clear safety goggles pushed above her brow, and a weathered rust-red technical field jacket with a raised collar. Fine ash dust clings naturally to the fabric seams and a few loose strands of dark hair. Her expression is calm, capable, and approachable, looking directly at the viewer. Sophisticated semi-realistic 3D editorial illustration with finely modeled facial features, tactile woven fabric, scratched helmet surfaces, subtle pores, and crisp equipment details. Dramatic warm amber rim light suggests nearby volcanic glow, balanced by cool teal fill light across the face. Abstract dark basalt background with faint mineral strata and sparse ember-like particles, atmospheric but uncluttered. Strong silhouette, premium science-publication art direction, polished cinematic lighting, shallow depth of field, no lettering, no logo, no border, no interface elements.

Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'baidu:ernie-image@turbo',
  positivePrompt: 'Stylized professional profile avatar of a field volcanologist, centered head-and-shoulders composition designed to remain readable in a circular crop. A confident woman in her early forties wears a matte charcoal climbing helmet, clear safety goggles pushed above her brow, and a weathered rust-red technical field jacket with a raised collar. Fine ash dust clings naturally to the fabric seams and a few loose strands of dark hair. Her expression is calm, capable, and approachable, looking directly at the viewer. Sophisticated semi-realistic 3D editorial illustration with finely modeled facial features, tactile woven fabric, scratched helmet surfaces, subtle pores, and crisp equipment details. Dramatic warm amber rim light suggests nearby volcanic glow, balanced by cool teal fill light across the face. Abstract dark basalt background with faint mineral strata and sparse ember-like particles, atmospheric but uncluttered. Strong silhouette, premium science-publication art direction, polished cinematic lighting, shallow depth of field, no lettering, no logo, no border, no interface elements.',
  width: 1024,
  height: 1024,
  steps: 8
})
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": "baidu:ernie-image@turbo",
            "positivePrompt": "Stylized professional profile avatar of a field volcanologist, centered head-and-shoulders composition designed to remain readable in a circular crop. A confident woman in her early forties wears a matte charcoal climbing helmet, clear safety goggles pushed above her brow, and a weathered rust-red technical field jacket with a raised collar. Fine ash dust clings naturally to the fabric seams and a few loose strands of dark hair. Her expression is calm, capable, and approachable, looking directly at the viewer. Sophisticated semi-realistic 3D editorial illustration with finely modeled facial features, tactile woven fabric, scratched helmet surfaces, subtle pores, and crisp equipment details. Dramatic warm amber rim light suggests nearby volcanic glow, balanced by cool teal fill light across the face. Abstract dark basalt background with faint mineral strata and sparse ember-like particles, atmospheric but uncluttered. Strong silhouette, premium science-publication art direction, polished cinematic lighting, shallow depth of field, no lettering, no logo, no border, no interface elements.",
            "width": 1024,
            "height": 1024,
            "steps": 8
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "0f431cbd-073d-4396-9b28-7a371e057b08",
      "model": "baidu:ernie-image@turbo",
      "positivePrompt": "Stylized professional profile avatar of a field volcanologist, centered head-and-shoulders composition designed to remain readable in a circular crop. A confident woman in her early forties wears a matte charcoal climbing helmet, clear safety goggles pushed above her brow, and a weathered rust-red technical field jacket with a raised collar. Fine ash dust clings naturally to the fabric seams and a few loose strands of dark hair. Her expression is calm, capable, and approachable, looking directly at the viewer. Sophisticated semi-realistic 3D editorial illustration with finely modeled facial features, tactile woven fabric, scratched helmet surfaces, subtle pores, and crisp equipment details. Dramatic warm amber rim light suggests nearby volcanic glow, balanced by cool teal fill light across the face. Abstract dark basalt background with faint mineral strata and sparse ember-like particles, atmospheric but uncluttered. Strong silhouette, premium science-publication art direction, polished cinematic lighting, shallow depth of field, no lettering, no logo, no border, no interface elements.",
      "width": 1024,
      "height": 1024,
      "steps": 8
    }
  ]'
runware run baidu:ernie-image@turbo \
  positivePrompt="Stylized professional profile avatar of a field volcanologist, centered head-and-shoulders composition designed to remain readable in a circular crop. A confident woman in her early forties wears a matte charcoal climbing helmet, clear safety goggles pushed above her brow, and a weathered rust-red technical field jacket with a raised collar. Fine ash dust clings naturally to the fabric seams and a few loose strands of dark hair. Her expression is calm, capable, and approachable, looking directly at the viewer. Sophisticated semi-realistic 3D editorial illustration with finely modeled facial features, tactile woven fabric, scratched helmet surfaces, subtle pores, and crisp equipment details. Dramatic warm amber rim light suggests nearby volcanic glow, balanced by cool teal fill light across the face. Abstract dark basalt background with faint mineral strata and sparse ember-like particles, atmospheric but uncluttered. Strong silhouette, premium science-publication art direction, polished cinematic lighting, shallow depth of field, no lettering, no logo, no border, no interface elements." \
  width=1024 \
  height=1024 \
  steps=8
{
  "taskType": "imageInference",
  "taskUUID": "0f431cbd-073d-4396-9b28-7a371e057b08",
  "model": "baidu:ernie-image@turbo",
  "positivePrompt": "Stylized professional profile avatar of a field volcanologist, centered head-and-shoulders composition designed to remain readable in a circular crop. A confident woman in her early forties wears a matte charcoal climbing helmet, clear safety goggles pushed above her brow, and a weathered rust-red technical field jacket with a raised collar. Fine ash dust clings naturally to the fabric seams and a few loose strands of dark hair. Her expression is calm, capable, and approachable, looking directly at the viewer. Sophisticated semi-realistic 3D editorial illustration with finely modeled facial features, tactile woven fabric, scratched helmet surfaces, subtle pores, and crisp equipment details. Dramatic warm amber rim light suggests nearby volcanic glow, balanced by cool teal fill light across the face. Abstract dark basalt background with faint mineral strata and sparse ember-like particles, atmospheric but uncluttered. Strong silhouette, premium science-publication art direction, polished cinematic lighting, shallow depth of field, no lettering, no logo, no border, no interface elements.",
  "width": 1024,
  "height": 1024,
  "steps": 8
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "0f431cbd-073d-4396-9b28-7a371e057b08",
  "imageUUID": "e6df7561-9a9d-45ac-95c7-4423a57591f0",
  "imageURL": "https://im.runware.ai/image/os/a10dlim3/ws/3/ii/e6df7561-9a9d-45ac-95c7-4423a57591f0.jpg",
  "seed": 308332974,
  "cost": 0.0019
}

text-to-image

Antique Violin Restoration Blog Hero$0.0019~19s
Antique Violin Restoration Blog Hero

Square editorial photograph centered on one weathered 18th-century violin resting diagonally across a dark luthier’s workbench during ultraviolet inspection. The violin is the unmistakable single subject, shown nearly full frame from a slightly elevated three-quarter angle. Split lighting: warm amber workshop light grazes the carved spruce top and curled maple ribs from the left, while a narrow violet UV beam from the right reveals ghostly fluorescent patches of old varnish restoration. Extremely fine detail in the cracked golden varnish, delicate purfling, worn ebony fingerboard, bridge grain, strings, dust caught in the f-holes, and tiny repaired seams. Surroundings fall into soft shadow with only subtle hints of wood shavings and precision tools at the frame edges. Museum-conservation mood, tactile realism, controlled chiaroscuro, rich mahogany, honey, charcoal, and ultraviolet violet palette, premium documentary photography, crisp focal plane, natural optical depth, no people, no lettering, no watermark.

Try in Playground
import { createClient } from '@runware/sdk'

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

const [result] = await client.run({
  model: 'baidu:ernie-image@turbo',
  positivePrompt: 'Square editorial photograph centered on one weathered 18th-century violin resting diagonally across a dark luthier’s workbench during ultraviolet inspection. The violin is the unmistakable single subject, shown nearly full frame from a slightly elevated three-quarter angle. Split lighting: warm amber workshop light grazes the carved spruce top and curled maple ribs from the left, while a narrow violet UV beam from the right reveals ghostly fluorescent patches of old varnish restoration. Extremely fine detail in the cracked golden varnish, delicate purfling, worn ebony fingerboard, bridge grain, strings, dust caught in the f-holes, and tiny repaired seams. Surroundings fall into soft shadow with only subtle hints of wood shavings and precision tools at the frame edges. Museum-conservation mood, tactile realism, controlled chiaroscuro, rich mahogany, honey, charcoal, and ultraviolet violet palette, premium documentary photography, crisp focal plane, natural optical depth, no people, no lettering, no watermark.',
  width: 1024,
  height: 1024,
  steps: 8
})
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": "baidu:ernie-image@turbo",
            "positivePrompt": "Square editorial photograph centered on one weathered 18th-century violin resting diagonally across a dark luthier’s workbench during ultraviolet inspection. The violin is the unmistakable single subject, shown nearly full frame from a slightly elevated three-quarter angle. Split lighting: warm amber workshop light grazes the carved spruce top and curled maple ribs from the left, while a narrow violet UV beam from the right reveals ghostly fluorescent patches of old varnish restoration. Extremely fine detail in the cracked golden varnish, delicate purfling, worn ebony fingerboard, bridge grain, strings, dust caught in the f-holes, and tiny repaired seams. Surroundings fall into soft shadow with only subtle hints of wood shavings and precision tools at the frame edges. Museum-conservation mood, tactile realism, controlled chiaroscuro, rich mahogany, honey, charcoal, and ultraviolet violet palette, premium documentary photography, crisp focal plane, natural optical depth, no people, no lettering, no watermark.",
            "width": 1024,
            "height": 1024,
            "steps": 8
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "13cab5b4-7350-49cb-a448-b3590b4778b9",
      "model": "baidu:ernie-image@turbo",
      "positivePrompt": "Square editorial photograph centered on one weathered 18th-century violin resting diagonally across a dark luthier’s workbench during ultraviolet inspection. The violin is the unmistakable single subject, shown nearly full frame from a slightly elevated three-quarter angle. Split lighting: warm amber workshop light grazes the carved spruce top and curled maple ribs from the left, while a narrow violet UV beam from the right reveals ghostly fluorescent patches of old varnish restoration. Extremely fine detail in the cracked golden varnish, delicate purfling, worn ebony fingerboard, bridge grain, strings, dust caught in the f-holes, and tiny repaired seams. Surroundings fall into soft shadow with only subtle hints of wood shavings and precision tools at the frame edges. Museum-conservation mood, tactile realism, controlled chiaroscuro, rich mahogany, honey, charcoal, and ultraviolet violet palette, premium documentary photography, crisp focal plane, natural optical depth, no people, no lettering, no watermark.",
      "width": 1024,
      "height": 1024,
      "steps": 8
    }
  ]'
runware run baidu:ernie-image@turbo \
  positivePrompt="Square editorial photograph centered on one weathered 18th-century violin resting diagonally across a dark luthier’s workbench during ultraviolet inspection. The violin is the unmistakable single subject, shown nearly full frame from a slightly elevated three-quarter angle. Split lighting: warm amber workshop light grazes the carved spruce top and curled maple ribs from the left, while a narrow violet UV beam from the right reveals ghostly fluorescent patches of old varnish restoration. Extremely fine detail in the cracked golden varnish, delicate purfling, worn ebony fingerboard, bridge grain, strings, dust caught in the f-holes, and tiny repaired seams. Surroundings fall into soft shadow with only subtle hints of wood shavings and precision tools at the frame edges. Museum-conservation mood, tactile realism, controlled chiaroscuro, rich mahogany, honey, charcoal, and ultraviolet violet palette, premium documentary photography, crisp focal plane, natural optical depth, no people, no lettering, no watermark." \
  width=1024 \
  height=1024 \
  steps=8
{
  "taskType": "imageInference",
  "taskUUID": "13cab5b4-7350-49cb-a448-b3590b4778b9",
  "model": "baidu:ernie-image@turbo",
  "positivePrompt": "Square editorial photograph centered on one weathered 18th-century violin resting diagonally across a dark luthier’s workbench during ultraviolet inspection. The violin is the unmistakable single subject, shown nearly full frame from a slightly elevated three-quarter angle. Split lighting: warm amber workshop light grazes the carved spruce top and curled maple ribs from the left, while a narrow violet UV beam from the right reveals ghostly fluorescent patches of old varnish restoration. Extremely fine detail in the cracked golden varnish, delicate purfling, worn ebony fingerboard, bridge grain, strings, dust caught in the f-holes, and tiny repaired seams. Surroundings fall into soft shadow with only subtle hints of wood shavings and precision tools at the frame edges. Museum-conservation mood, tactile realism, controlled chiaroscuro, rich mahogany, honey, charcoal, and ultraviolet violet palette, premium documentary photography, crisp focal plane, natural optical depth, no people, no lettering, no watermark.",
  "width": 1024,
  "height": 1024,
  "steps": 8
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "13cab5b4-7350-49cb-a448-b3590b4778b9",
  "imageUUID": "3f7c88f7-5ec4-43dc-83d7-8964be649e2c",
  "imageURL": "https://im.runware.ai/image/os/a08dlim3/ws/3/ii/3f7c88f7-5ec4-43dc-83d7-8964be649e2c.jpg",
  "seed": 512613778,
  "cost": 0.0019
}