Nano Banana 2.1

Nano Banana 2.1 is Google's updated image generation and editing model in the Nano Banana 2 family. It improves graphic composition and subject consistency, and it follows complex prompts and edit instructions more accurately. It works from text alone or from as many as fourteen reference images plus one reference video, and it can ground a generation in live web and image search so the result reflects current facts and real visual references. It generates at 1K, 2K and 4K, with three levels of thinking that trade speed for reasoning depth, which suits layout-heavy design work, recurring characters and products, and precise multi-step edits.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Step-by-step tutorials for advanced use cases
text-to-image
Geothermal Plant Operations Icon Set$0.0342~32s
Create a finished 12-icon vector pictogram set for a geothermal power plant operator. Landscape composition with exactly twelve distinct icons arranged in a precise four-column by three-row grid, evenly spaced and optically balanced on a clean warm-ivory background. No title, labels, numbers, lettering, border, interface, or mockup. Icon subjects in reading order: 1) geothermal production wellhead releasing two controlled curls of steam, 2) compact steam turbine with visible rotor blades, 3) plate heat exchanger, 4) cylindrical brine storage tank with a fluid-level wave, 5) injection well with a bold downward arrow entering underground strata, 6) tripod seismic sensor emitting three concentric signal lines, 7) industrial safety helmet with a small heat-wave emblem, 8) heavy pipeline valve wheel, 9) insulated pipe making a clean ninety-degree bend, 10) cooling fan with five blades, 11) mineral sampling flask containing sediment layers, 12) circular pressure-and-temperature gauge with two needles. Art direction: modern industrial wayfinding inspired by 1970s Icelandic public-infrastructure graphics, reduced geometric forms, confident rounded contours, subtle modular construction, crisp flat vector shapes, screen-print character, and excellent recognition at small sizes. Enclose each symbol in the same softly rounded square badge with generous internal padding. Use one consistent visual weight and the same simplified three-quarter geometry throughout; avoid photorealism, gradients, shadows, bevels, and excessive detail. Restricted palette: deep basalt charcoal for primary structure, sulfur yellow for heat and caution details, glacial blue for water and cooling elements, muted rust orange for underground heat, and warm ivory negative space. Apply color systematically rather than randomly. Every badge must feel like part of one professional icon family while each silhouette remains immediately distinguishable. Clean production-ready presentation, sharp edges, consistent spacing, calm technical mood, high legibility.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'google:nano-banana@2.1',
positivePrompt: 'Create a finished 12-icon vector pictogram set for a geothermal power plant operator. Landscape composition with exactly twelve distinct icons arranged in a precise four-column by three-row grid, evenly spaced and optically balanced on a clean warm-ivory background. No title, labels, numbers, lettering, border, interface, or mockup.\n\nIcon subjects in reading order: 1) geothermal production wellhead releasing two controlled curls of steam, 2) compact steam turbine with visible rotor blades, 3) plate heat exchanger, 4) cylindrical brine storage tank with a fluid-level wave, 5) injection well with a bold downward arrow entering underground strata, 6) tripod seismic sensor emitting three concentric signal lines, 7) industrial safety helmet with a small heat-wave emblem, 8) heavy pipeline valve wheel, 9) insulated pipe making a clean ninety-degree bend, 10) cooling fan with five blades, 11) mineral sampling flask containing sediment layers, 12) circular pressure-and-temperature gauge with two needles.\n\nArt direction: modern industrial wayfinding inspired by 1970s Icelandic public-infrastructure graphics, reduced geometric forms, confident rounded contours, subtle modular construction, crisp flat vector shapes, screen-print character, and excellent recognition at small sizes. Enclose each symbol in the same softly rounded square badge with generous internal padding. Use one consistent visual weight and the same simplified three-quarter geometry throughout; avoid photorealism, gradients, shadows, bevels, and excessive detail.\n\nRestricted palette: deep basalt charcoal for primary structure, sulfur yellow for heat and caution details, glacial blue for water and cooling elements, muted rust orange for underground heat, and warm ivory negative space. Apply color systematically rather than randomly. Every badge must feel like part of one professional icon family while each silhouette remains immediately distinguishable. Clean production-ready presentation, sharp edges, consistent spacing, calm technical mood, high legibility.',
width: 1376,
height: 768
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "google:nano-banana@2.1",
"positivePrompt": "Create a finished 12-icon vector pictogram set for a geothermal power plant operator. Landscape composition with exactly twelve distinct icons arranged in a precise four-column by three-row grid, evenly spaced and optically balanced on a clean warm-ivory background. No title, labels, numbers, lettering, border, interface, or mockup.\n\nIcon subjects in reading order: 1) geothermal production wellhead releasing two controlled curls of steam, 2) compact steam turbine with visible rotor blades, 3) plate heat exchanger, 4) cylindrical brine storage tank with a fluid-level wave, 5) injection well with a bold downward arrow entering underground strata, 6) tripod seismic sensor emitting three concentric signal lines, 7) industrial safety helmet with a small heat-wave emblem, 8) heavy pipeline valve wheel, 9) insulated pipe making a clean ninety-degree bend, 10) cooling fan with five blades, 11) mineral sampling flask containing sediment layers, 12) circular pressure-and-temperature gauge with two needles.\n\nArt direction: modern industrial wayfinding inspired by 1970s Icelandic public-infrastructure graphics, reduced geometric forms, confident rounded contours, subtle modular construction, crisp flat vector shapes, screen-print character, and excellent recognition at small sizes. Enclose each symbol in the same softly rounded square badge with generous internal padding. Use one consistent visual weight and the same simplified three-quarter geometry throughout; avoid photorealism, gradients, shadows, bevels, and excessive detail.\n\nRestricted palette: deep basalt charcoal for primary structure, sulfur yellow for heat and caution details, glacial blue for water and cooling elements, muted rust orange for underground heat, and warm ivory negative space. Apply color systematically rather than randomly. Every badge must feel like part of one professional icon family while each silhouette remains immediately distinguishable. Clean production-ready presentation, sharp edges, consistent spacing, calm technical mood, high legibility.",
"width": 1376,
"height": 768
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "b4c0f3b7-840c-4fcf-99c1-39aee145646c",
"model": "google:nano-banana@2.1",
"positivePrompt": "Create a finished 12-icon vector pictogram set for a geothermal power plant operator. Landscape composition with exactly twelve distinct icons arranged in a precise four-column by three-row grid, evenly spaced and optically balanced on a clean warm-ivory background. No title, labels, numbers, lettering, border, interface, or mockup.\n\nIcon subjects in reading order: 1) geothermal production wellhead releasing two controlled curls of steam, 2) compact steam turbine with visible rotor blades, 3) plate heat exchanger, 4) cylindrical brine storage tank with a fluid-level wave, 5) injection well with a bold downward arrow entering underground strata, 6) tripod seismic sensor emitting three concentric signal lines, 7) industrial safety helmet with a small heat-wave emblem, 8) heavy pipeline valve wheel, 9) insulated pipe making a clean ninety-degree bend, 10) cooling fan with five blades, 11) mineral sampling flask containing sediment layers, 12) circular pressure-and-temperature gauge with two needles.\n\nArt direction: modern industrial wayfinding inspired by 1970s Icelandic public-infrastructure graphics, reduced geometric forms, confident rounded contours, subtle modular construction, crisp flat vector shapes, screen-print character, and excellent recognition at small sizes. Enclose each symbol in the same softly rounded square badge with generous internal padding. Use one consistent visual weight and the same simplified three-quarter geometry throughout; avoid photorealism, gradients, shadows, bevels, and excessive detail.\n\nRestricted palette: deep basalt charcoal for primary structure, sulfur yellow for heat and caution details, glacial blue for water and cooling elements, muted rust orange for underground heat, and warm ivory negative space. Apply color systematically rather than randomly. Every badge must feel like part of one professional icon family while each silhouette remains immediately distinguishable. Clean production-ready presentation, sharp edges, consistent spacing, calm technical mood, high legibility.",
"width": 1376,
"height": 768
}
]'runware run google:nano-banana@2.1 \
positivePrompt="Create a finished 12-icon vector pictogram set for a geothermal power plant operator. Landscape composition with exactly twelve distinct icons arranged in a precise four-column by three-row grid, evenly spaced and optically balanced on a clean warm-ivory background. No title, labels, numbers, lettering, border, interface, or mockup.
Icon subjects in reading order: 1) geothermal production wellhead releasing two controlled curls of steam, 2) compact steam turbine with visible rotor blades, 3) plate heat exchanger, 4) cylindrical brine storage tank with a fluid-level wave, 5) injection well with a bold downward arrow entering underground strata, 6) tripod seismic sensor emitting three concentric signal lines, 7) industrial safety helmet with a small heat-wave emblem, 8) heavy pipeline valve wheel, 9) insulated pipe making a clean ninety-degree bend, 10) cooling fan with five blades, 11) mineral sampling flask containing sediment layers, 12) circular pressure-and-temperature gauge with two needles.
Art direction: modern industrial wayfinding inspired by 1970s Icelandic public-infrastructure graphics, reduced geometric forms, confident rounded contours, subtle modular construction, crisp flat vector shapes, screen-print character, and excellent recognition at small sizes. Enclose each symbol in the same softly rounded square badge with generous internal padding. Use one consistent visual weight and the same simplified three-quarter geometry throughout; avoid photorealism, gradients, shadows, bevels, and excessive detail.
Restricted palette: deep basalt charcoal for primary structure, sulfur yellow for heat and caution details, glacial blue for water and cooling elements, muted rust orange for underground heat, and warm ivory negative space. Apply color systematically rather than randomly. Every badge must feel like part of one professional icon family while each silhouette remains immediately distinguishable. Clean production-ready presentation, sharp edges, consistent spacing, calm technical mood, high legibility." \
width=1376 \
height=768{
"taskType": "imageInference",
"taskUUID": "b4c0f3b7-840c-4fcf-99c1-39aee145646c",
"model": "google:nano-banana@2.1",
"positivePrompt": "Create a finished 12-icon vector pictogram set for a geothermal power plant operator. Landscape composition with exactly twelve distinct icons arranged in a precise four-column by three-row grid, evenly spaced and optically balanced on a clean warm-ivory background. No title, labels, numbers, lettering, border, interface, or mockup.\n\nIcon subjects in reading order: 1) geothermal production wellhead releasing two controlled curls of steam, 2) compact steam turbine with visible rotor blades, 3) plate heat exchanger, 4) cylindrical brine storage tank with a fluid-level wave, 5) injection well with a bold downward arrow entering underground strata, 6) tripod seismic sensor emitting three concentric signal lines, 7) industrial safety helmet with a small heat-wave emblem, 8) heavy pipeline valve wheel, 9) insulated pipe making a clean ninety-degree bend, 10) cooling fan with five blades, 11) mineral sampling flask containing sediment layers, 12) circular pressure-and-temperature gauge with two needles.\n\nArt direction: modern industrial wayfinding inspired by 1970s Icelandic public-infrastructure graphics, reduced geometric forms, confident rounded contours, subtle modular construction, crisp flat vector shapes, screen-print character, and excellent recognition at small sizes. Enclose each symbol in the same softly rounded square badge with generous internal padding. Use one consistent visual weight and the same simplified three-quarter geometry throughout; avoid photorealism, gradients, shadows, bevels, and excessive detail.\n\nRestricted palette: deep basalt charcoal for primary structure, sulfur yellow for heat and caution details, glacial blue for water and cooling elements, muted rust orange for underground heat, and warm ivory negative space. Apply color systematically rather than randomly. Every badge must feel like part of one professional icon family while each silhouette remains immediately distinguishable. Clean production-ready presentation, sharp edges, consistent spacing, calm technical mood, high legibility.",
"width": 1376,
"height": 768
}Response
{
"taskType": "imageInference",
"taskUUID": "b4c0f3b7-840c-4fcf-99c1-39aee145646c",
"imageUUID": "20ec5582-ef34-4b01-85ae-cea4abc24a0a",
"imageURL": "https://im.runware.ai/image/os/a01d21/ws/3/ii/20ec5582-ef34-4b01-85ae-cea4abc24a0a.jpg",
"seed": 983277383,
"cost": 0.0342165
}text-to-image
Autumn Dusk Memorial Garden Visualization$0.0341~13s
Create a finished, photorealistic landscape-architecture visualization for a design proposal: a contemporary woodland memorial garden in late autumn at blue hour, shortly after a light rain. The clear primary subject is a long, gently curving rammed-earth columbarium wall with recessed bronze memorial niches, integrated respectfully into a grove of mature birch and Japanese maple trees. Frame the scene from a human eye-level viewpoint across a shallow reflecting pool, using the curve of a pale gravel path to lead from the lower-left foreground toward the wall in the middle distance. Fallen copper, ochre and burgundy leaves collect naturally along the path edges and float sparsely on the water. Most branches are partly bare, clearly conveying late autumn rather than summer. Cool indigo twilight fills the sky and woodland shadows, while discreet low path lights and warm concealed lighting inside the wall recesses cast soft amber pools onto the damp stone and rammed earth. Show physically convincing reflections, subtle mist close to the ground, wet textures, restrained atmospheric depth and realistic planting. Include two small, distant visitors walking quietly together for scale, dressed in understated dark coats; they must remain secondary and unidentifiable. Calm, contemplative and dignified mood, refined editorial architectural photography, naturalistic materials, crisp but not oversharpened detail, balanced slate-blue, rust, muted gold and warm amber palette. Wide cinematic landscape composition designed for a presentation spread, with generous breathing room around the architecture. No gravestones, no religious symbols, no funeral ceremony, no dramatic weather, no fantasy elements, no signage, no logos, no captions, no borders and no on-image 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: 'google:nano-banana@2.1',
positivePrompt: 'Create a finished, photorealistic landscape-architecture visualization for a design proposal: a contemporary woodland memorial garden in late autumn at blue hour, shortly after a light rain. The clear primary subject is a long, gently curving rammed-earth columbarium wall with recessed bronze memorial niches, integrated respectfully into a grove of mature birch and Japanese maple trees. Frame the scene from a human eye-level viewpoint across a shallow reflecting pool, using the curve of a pale gravel path to lead from the lower-left foreground toward the wall in the middle distance. Fallen copper, ochre and burgundy leaves collect naturally along the path edges and float sparsely on the water. Most branches are partly bare, clearly conveying late autumn rather than summer. Cool indigo twilight fills the sky and woodland shadows, while discreet low path lights and warm concealed lighting inside the wall recesses cast soft amber pools onto the damp stone and rammed earth. Show physically convincing reflections, subtle mist close to the ground, wet textures, restrained atmospheric depth and realistic planting. Include two small, distant visitors walking quietly together for scale, dressed in understated dark coats; they must remain secondary and unidentifiable. Calm, contemplative and dignified mood, refined editorial architectural photography, naturalistic materials, crisp but not oversharpened detail, balanced slate-blue, rust, muted gold and warm amber palette. Wide cinematic landscape composition designed for a presentation spread, with generous breathing room around the architecture. No gravestones, no religious symbols, no funeral ceremony, no dramatic weather, no fantasy elements, no signage, no logos, no captions, no borders and no on-image text.',
width: 1376,
height: 768
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "google:nano-banana@2.1",
"positivePrompt": "Create a finished, photorealistic landscape-architecture visualization for a design proposal: a contemporary woodland memorial garden in late autumn at blue hour, shortly after a light rain. The clear primary subject is a long, gently curving rammed-earth columbarium wall with recessed bronze memorial niches, integrated respectfully into a grove of mature birch and Japanese maple trees. Frame the scene from a human eye-level viewpoint across a shallow reflecting pool, using the curve of a pale gravel path to lead from the lower-left foreground toward the wall in the middle distance. Fallen copper, ochre and burgundy leaves collect naturally along the path edges and float sparsely on the water. Most branches are partly bare, clearly conveying late autumn rather than summer. Cool indigo twilight fills the sky and woodland shadows, while discreet low path lights and warm concealed lighting inside the wall recesses cast soft amber pools onto the damp stone and rammed earth. Show physically convincing reflections, subtle mist close to the ground, wet textures, restrained atmospheric depth and realistic planting. Include two small, distant visitors walking quietly together for scale, dressed in understated dark coats; they must remain secondary and unidentifiable. Calm, contemplative and dignified mood, refined editorial architectural photography, naturalistic materials, crisp but not oversharpened detail, balanced slate-blue, rust, muted gold and warm amber palette. Wide cinematic landscape composition designed for a presentation spread, with generous breathing room around the architecture. No gravestones, no religious symbols, no funeral ceremony, no dramatic weather, no fantasy elements, no signage, no logos, no captions, no borders and no on-image text.",
"width": 1376,
"height": 768
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "47e810d2-0cd1-4491-adb9-e001e2eeed75",
"model": "google:nano-banana@2.1",
"positivePrompt": "Create a finished, photorealistic landscape-architecture visualization for a design proposal: a contemporary woodland memorial garden in late autumn at blue hour, shortly after a light rain. The clear primary subject is a long, gently curving rammed-earth columbarium wall with recessed bronze memorial niches, integrated respectfully into a grove of mature birch and Japanese maple trees. Frame the scene from a human eye-level viewpoint across a shallow reflecting pool, using the curve of a pale gravel path to lead from the lower-left foreground toward the wall in the middle distance. Fallen copper, ochre and burgundy leaves collect naturally along the path edges and float sparsely on the water. Most branches are partly bare, clearly conveying late autumn rather than summer. Cool indigo twilight fills the sky and woodland shadows, while discreet low path lights and warm concealed lighting inside the wall recesses cast soft amber pools onto the damp stone and rammed earth. Show physically convincing reflections, subtle mist close to the ground, wet textures, restrained atmospheric depth and realistic planting. Include two small, distant visitors walking quietly together for scale, dressed in understated dark coats; they must remain secondary and unidentifiable. Calm, contemplative and dignified mood, refined editorial architectural photography, naturalistic materials, crisp but not oversharpened detail, balanced slate-blue, rust, muted gold and warm amber palette. Wide cinematic landscape composition designed for a presentation spread, with generous breathing room around the architecture. No gravestones, no religious symbols, no funeral ceremony, no dramatic weather, no fantasy elements, no signage, no logos, no captions, no borders and no on-image text.",
"width": 1376,
"height": 768
}
]'runware run google:nano-banana@2.1 \
positivePrompt="Create a finished, photorealistic landscape-architecture visualization for a design proposal: a contemporary woodland memorial garden in late autumn at blue hour, shortly after a light rain. The clear primary subject is a long, gently curving rammed-earth columbarium wall with recessed bronze memorial niches, integrated respectfully into a grove of mature birch and Japanese maple trees. Frame the scene from a human eye-level viewpoint across a shallow reflecting pool, using the curve of a pale gravel path to lead from the lower-left foreground toward the wall in the middle distance. Fallen copper, ochre and burgundy leaves collect naturally along the path edges and float sparsely on the water. Most branches are partly bare, clearly conveying late autumn rather than summer. Cool indigo twilight fills the sky and woodland shadows, while discreet low path lights and warm concealed lighting inside the wall recesses cast soft amber pools onto the damp stone and rammed earth. Show physically convincing reflections, subtle mist close to the ground, wet textures, restrained atmospheric depth and realistic planting. Include two small, distant visitors walking quietly together for scale, dressed in understated dark coats; they must remain secondary and unidentifiable. Calm, contemplative and dignified mood, refined editorial architectural photography, naturalistic materials, crisp but not oversharpened detail, balanced slate-blue, rust, muted gold and warm amber palette. Wide cinematic landscape composition designed for a presentation spread, with generous breathing room around the architecture. No gravestones, no religious symbols, no funeral ceremony, no dramatic weather, no fantasy elements, no signage, no logos, no captions, no borders and no on-image text." \
width=1376 \
height=768{
"taskType": "imageInference",
"taskUUID": "47e810d2-0cd1-4491-adb9-e001e2eeed75",
"model": "google:nano-banana@2.1",
"positivePrompt": "Create a finished, photorealistic landscape-architecture visualization for a design proposal: a contemporary woodland memorial garden in late autumn at blue hour, shortly after a light rain. The clear primary subject is a long, gently curving rammed-earth columbarium wall with recessed bronze memorial niches, integrated respectfully into a grove of mature birch and Japanese maple trees. Frame the scene from a human eye-level viewpoint across a shallow reflecting pool, using the curve of a pale gravel path to lead from the lower-left foreground toward the wall in the middle distance. Fallen copper, ochre and burgundy leaves collect naturally along the path edges and float sparsely on the water. Most branches are partly bare, clearly conveying late autumn rather than summer. Cool indigo twilight fills the sky and woodland shadows, while discreet low path lights and warm concealed lighting inside the wall recesses cast soft amber pools onto the damp stone and rammed earth. Show physically convincing reflections, subtle mist close to the ground, wet textures, restrained atmospheric depth and realistic planting. Include two small, distant visitors walking quietly together for scale, dressed in understated dark coats; they must remain secondary and unidentifiable. Calm, contemplative and dignified mood, refined editorial architectural photography, naturalistic materials, crisp but not oversharpened detail, balanced slate-blue, rust, muted gold and warm amber palette. Wide cinematic landscape composition designed for a presentation spread, with generous breathing room around the architecture. No gravestones, no religious symbols, no funeral ceremony, no dramatic weather, no fantasy elements, no signage, no logos, no captions, no borders and no on-image text.",
"width": 1376,
"height": 768
}Response
{
"taskType": "imageInference",
"taskUUID": "47e810d2-0cd1-4491-adb9-e001e2eeed75",
"imageUUID": "6d247df0-5c60-4112-a308-bc02b8bbc9ff",
"imageURL": "https://im.runware.ai/image/os/a02d21/ws/3/ii/6d247df0-5c60-4112-a308-bc02b8bbc9ff.jpg",
"seed": 524751596,
"cost": 0.034098
}image-to-image
Marine Radio Housing Colorway Variant$0.0524~25s
Edit the supplied commercial product photograph by changing exactly one thing: recolor every safety-yellow rigid polymer outer housing panel on the handheld marine radio to a uniform burnt-coral orange color, approximately #E95B3F. Retain the housing's photographed satin texture, molded details, edge highlights, reflections, shading and material response so it looks like a factory-produced colorway photographed in the original session. Leave everything else exactly as photographed and untouched: product geometry, dimensions, antenna, black rubber grips, controls, buttons, display and its content, speaker grille, seams, screws, ports, printed labels, symbols, typography, alignment, camera angle, crop, focus, lighting, contact shadow and seamless gray background. Do not add, remove, reshape, retouch or restyle any object or marking. Deliver the same photograph with only the yellow housing color replaced by burnt-coral orange, composed cleanly for a detailed 2K ecommerce image.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'google:nano-banana@2.1',
positivePrompt: 'Edit the supplied commercial product photograph by changing exactly one thing: recolor every safety-yellow rigid polymer outer housing panel on the handheld marine radio to a uniform burnt-coral orange color, approximately #E95B3F. Retain the housing\'s photographed satin texture, molded details, edge highlights, reflections, shading and material response so it looks like a factory-produced colorway photographed in the original session. Leave everything else exactly as photographed and untouched: product geometry, dimensions, antenna, black rubber grips, controls, buttons, display and its content, speaker grille, seams, screws, ports, printed labels, symbols, typography, alignment, camera angle, crop, focus, lighting, contact shadow and seamless gray background. Do not add, remove, reshape, retouch or restyle any object or marking. Deliver the same photograph with only the yellow housing color replaced by burnt-coral orange, composed cleanly for a detailed 2K ecommerce image.',
resolution: '2K',
inputs: {
referenceImages: [
'https://assets.runware.ai/assets/inputs/4a55731c-8c17-43fa-a6be-7351b008ae42.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": "google:nano-banana@2.1",
"positivePrompt": "Edit the supplied commercial product photograph by changing exactly one thing: recolor every safety-yellow rigid polymer outer housing panel on the handheld marine radio to a uniform burnt-coral orange color, approximately #E95B3F. Retain the housing's photographed satin texture, molded details, edge highlights, reflections, shading and material response so it looks like a factory-produced colorway photographed in the original session. Leave everything else exactly as photographed and untouched: product geometry, dimensions, antenna, black rubber grips, controls, buttons, display and its content, speaker grille, seams, screws, ports, printed labels, symbols, typography, alignment, camera angle, crop, focus, lighting, contact shadow and seamless gray background. Do not add, remove, reshape, retouch or restyle any object or marking. Deliver the same photograph with only the yellow housing color replaced by burnt-coral orange, composed cleanly for a detailed 2K ecommerce image.",
"resolution": "2K",
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/4a55731c-8c17-43fa-a6be-7351b008ae42.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": "0e6e47dd-5b98-4ac7-80cb-ea24a8cc708f",
"model": "google:nano-banana@2.1",
"positivePrompt": "Edit the supplied commercial product photograph by changing exactly one thing: recolor every safety-yellow rigid polymer outer housing panel on the handheld marine radio to a uniform burnt-coral orange color, approximately #E95B3F. Retain the housing's photographed satin texture, molded details, edge highlights, reflections, shading and material response so it looks like a factory-produced colorway photographed in the original session. Leave everything else exactly as photographed and untouched: product geometry, dimensions, antenna, black rubber grips, controls, buttons, display and its content, speaker grille, seams, screws, ports, printed labels, symbols, typography, alignment, camera angle, crop, focus, lighting, contact shadow and seamless gray background. Do not add, remove, reshape, retouch or restyle any object or marking. Deliver the same photograph with only the yellow housing color replaced by burnt-coral orange, composed cleanly for a detailed 2K ecommerce image.",
"resolution": "2K",
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/4a55731c-8c17-43fa-a6be-7351b008ae42.jpg"
]
}
}
]'runware run google:nano-banana@2.1 \
positivePrompt="Edit the supplied commercial product photograph by changing exactly one thing: recolor every safety-yellow rigid polymer outer housing panel on the handheld marine radio to a uniform burnt-coral orange color, approximately #E95B3F. Retain the housing's photographed satin texture, molded details, edge highlights, reflections, shading and material response so it looks like a factory-produced colorway photographed in the original session. Leave everything else exactly as photographed and untouched: product geometry, dimensions, antenna, black rubber grips, controls, buttons, display and its content, speaker grille, seams, screws, ports, printed labels, symbols, typography, alignment, camera angle, crop, focus, lighting, contact shadow and seamless gray background. Do not add, remove, reshape, retouch or restyle any object or marking. Deliver the same photograph with only the yellow housing color replaced by burnt-coral orange, composed cleanly for a detailed 2K ecommerce image." \
resolution=2K \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/4a55731c-8c17-43fa-a6be-7351b008ae42.jpg{
"taskType": "imageInference",
"taskUUID": "0e6e47dd-5b98-4ac7-80cb-ea24a8cc708f",
"model": "google:nano-banana@2.1",
"positivePrompt": "Edit the supplied commercial product photograph by changing exactly one thing: recolor every safety-yellow rigid polymer outer housing panel on the handheld marine radio to a uniform burnt-coral orange color, approximately #E95B3F. Retain the housing's photographed satin texture, molded details, edge highlights, reflections, shading and material response so it looks like a factory-produced colorway photographed in the original session. Leave everything else exactly as photographed and untouched: product geometry, dimensions, antenna, black rubber grips, controls, buttons, display and its content, speaker grille, seams, screws, ports, printed labels, symbols, typography, alignment, camera angle, crop, focus, lighting, contact shadow and seamless gray background. Do not add, remove, reshape, retouch or restyle any object or marking. Deliver the same photograph with only the yellow housing color replaced by burnt-coral orange, composed cleanly for a detailed 2K ecommerce image.",
"resolution": "2K",
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/4a55731c-8c17-43fa-a6be-7351b008ae42.jpg"
]
}
}Response
{
"taskType": "imageInference",
"taskUUID": "0e6e47dd-5b98-4ac7-80cb-ea24a8cc708f",
"imageUUID": "f22e26f8-0f40-4754-942d-4c613b201a28",
"imageURL": "https://im.runware.ai/image/os/a01d21/ws/3/ii/f22e26f8-0f40-4754-942d-4c613b201a28.jpg",
"seed": 821151284,
"cost": 0.0523815
}search-grounded
Artemis II Crew Shirt Graphic$0.0905~35s
Create a finished landscape apparel graphic for the back of a premium commemorative T-shirt celebrating NASA’s Artemis II crewed lunar flyby mission. This must be flat print artwork only, not a shirt mockup, product photo, presentation board, or framed poster. CURRENT-FACT GROUNDING IS ESSENTIAL: before designing, use live web search to verify the latest official Artemis II crew roster, mission status, planned launch date or launch window, mission duration, and trajectory description from current NASA and Canadian Space Agency sources. Use image search grounding to study up-to-date official photographs of the four current crew members, the current Orion spacecraft configuration, the Space Launch System, modern launch-and-entry suits, and the mission’s free-return lunar trajectory. Do not rely on older training data when current official information differs. Include only facts that can be confirmed by current official sources. If an exact launch date is not officially firm, print the current official launch month or window rather than inventing a day. Art direction: a bold late-1970s space-program tour-shirt aesthetic reinterpreted with contemporary editorial precision. Build one cohesive screen-print-style composition with a large cream-colored Moon dominating the right half, an accurately recognizable Orion spacecraft sweeping around its far edge, and a clean orbital path looping from Earth around the Moon. Place a compact blue-and-white Earth near the lower left and an SLS launch silhouette rising behind it. Across the center, arrange four dignified illustrated crew portraits based on current official visual references, recognizable but simplified into confident halftone and flat-color shapes. Keep all people respectful, naturally proportioned, and equally prominent. Typography is fundamental to this merchandise design. Set the main headline exactly as “ARTEMIS II” in large custom condensed lettering. Add “CREWED LUNAR FLYBY” as a smaller secondary line. List the verified current crew surnames in a balanced single line, spelled exactly as confirmed by official sources. Add a restrained factual footer containing the verified current planned launch window, the approximate verified mission duration, and “EARTH • MOON • EARTH”. Include a small line reading “MISSION STATUS:” followed by a concise, accurate status based on the latest official update. Do not include URLs, citations, sponsor marks, fake endorsements, or fabricated mission statistics. Palette: deep midnight navy background, lunar cream, oxidized safety orange, icy cyan, and a small amount of white. Use thick printable contours, controlled halftone shading, subtle misregistration character, sparse star dots, and crisp negative space. No gradients that would be difficult to screen print, no photorealistic background, and no excessive tiny details. Keep the silhouette strong and readable from several meters away. Integrate the lettering into the illustration rather than placing it in boxes. Preserve generous clear space around every edge for garment printing. Do not reproduce NASA or CSA logos; this should feel like sophisticated independent commemorative merchandise, not counterfeit official apparel. Ensure all visible text is correctly spelled and legible. Deliver one complete standalone graphic at 1200x896 landscape.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'google:nano-banana@2.1',
positivePrompt: 'Create a finished landscape apparel graphic for the back of a premium commemorative T-shirt celebrating NASA’s Artemis II crewed lunar flyby mission. This must be flat print artwork only, not a shirt mockup, product photo, presentation board, or framed poster.\n\nCURRENT-FACT GROUNDING IS ESSENTIAL: before designing, use live web search to verify the latest official Artemis II crew roster, mission status, planned launch date or launch window, mission duration, and trajectory description from current NASA and Canadian Space Agency sources. Use image search grounding to study up-to-date official photographs of the four current crew members, the current Orion spacecraft configuration, the Space Launch System, modern launch-and-entry suits, and the mission’s free-return lunar trajectory. Do not rely on older training data when current official information differs. Include only facts that can be confirmed by current official sources. If an exact launch date is not officially firm, print the current official launch month or window rather than inventing a day.\n\nArt direction: a bold late-1970s space-program tour-shirt aesthetic reinterpreted with contemporary editorial precision. Build one cohesive screen-print-style composition with a large cream-colored Moon dominating the right half, an accurately recognizable Orion spacecraft sweeping around its far edge, and a clean orbital path looping from Earth around the Moon. Place a compact blue-and-white Earth near the lower left and an SLS launch silhouette rising behind it. Across the center, arrange four dignified illustrated crew portraits based on current official visual references, recognizable but simplified into confident halftone and flat-color shapes. Keep all people respectful, naturally proportioned, and equally prominent.\n\nTypography is fundamental to this merchandise design. Set the main headline exactly as “ARTEMIS II” in large custom condensed lettering. Add “CREWED LUNAR FLYBY” as a smaller secondary line. List the verified current crew surnames in a balanced single line, spelled exactly as confirmed by official sources. Add a restrained factual footer containing the verified current planned launch window, the approximate verified mission duration, and “EARTH • MOON • EARTH”. Include a small line reading “MISSION STATUS:” followed by a concise, accurate status based on the latest official update. Do not include URLs, citations, sponsor marks, fake endorsements, or fabricated mission statistics.\n\nPalette: deep midnight navy background, lunar cream, oxidized safety orange, icy cyan, and a small amount of white. Use thick printable contours, controlled halftone shading, subtle misregistration character, sparse star dots, and crisp negative space. No gradients that would be difficult to screen print, no photorealistic background, and no excessive tiny details. Keep the silhouette strong and readable from several meters away. Integrate the lettering into the illustration rather than placing it in boxes. Preserve generous clear space around every edge for garment printing. Do not reproduce NASA or CSA logos; this should feel like sophisticated independent commemorative merchandise, not counterfeit official apparel. Ensure all visible text is correctly spelled and legible. Deliver one complete standalone graphic at 1200x896 landscape.',
width: 1200,
height: 896,
settings: {
webSearch: true,
imageSearch: true
}
})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": "google:nano-banana@2.1",
"positivePrompt": "Create a finished landscape apparel graphic for the back of a premium commemorative T-shirt celebrating NASA’s Artemis II crewed lunar flyby mission. This must be flat print artwork only, not a shirt mockup, product photo, presentation board, or framed poster.\n\nCURRENT-FACT GROUNDING IS ESSENTIAL: before designing, use live web search to verify the latest official Artemis II crew roster, mission status, planned launch date or launch window, mission duration, and trajectory description from current NASA and Canadian Space Agency sources. Use image search grounding to study up-to-date official photographs of the four current crew members, the current Orion spacecraft configuration, the Space Launch System, modern launch-and-entry suits, and the mission’s free-return lunar trajectory. Do not rely on older training data when current official information differs. Include only facts that can be confirmed by current official sources. If an exact launch date is not officially firm, print the current official launch month or window rather than inventing a day.\n\nArt direction: a bold late-1970s space-program tour-shirt aesthetic reinterpreted with contemporary editorial precision. Build one cohesive screen-print-style composition with a large cream-colored Moon dominating the right half, an accurately recognizable Orion spacecraft sweeping around its far edge, and a clean orbital path looping from Earth around the Moon. Place a compact blue-and-white Earth near the lower left and an SLS launch silhouette rising behind it. Across the center, arrange four dignified illustrated crew portraits based on current official visual references, recognizable but simplified into confident halftone and flat-color shapes. Keep all people respectful, naturally proportioned, and equally prominent.\n\nTypography is fundamental to this merchandise design. Set the main headline exactly as “ARTEMIS II” in large custom condensed lettering. Add “CREWED LUNAR FLYBY” as a smaller secondary line. List the verified current crew surnames in a balanced single line, spelled exactly as confirmed by official sources. Add a restrained factual footer containing the verified current planned launch window, the approximate verified mission duration, and “EARTH • MOON • EARTH”. Include a small line reading “MISSION STATUS:” followed by a concise, accurate status based on the latest official update. Do not include URLs, citations, sponsor marks, fake endorsements, or fabricated mission statistics.\n\nPalette: deep midnight navy background, lunar cream, oxidized safety orange, icy cyan, and a small amount of white. Use thick printable contours, controlled halftone shading, subtle misregistration character, sparse star dots, and crisp negative space. No gradients that would be difficult to screen print, no photorealistic background, and no excessive tiny details. Keep the silhouette strong and readable from several meters away. Integrate the lettering into the illustration rather than placing it in boxes. Preserve generous clear space around every edge for garment printing. Do not reproduce NASA or CSA logos; this should feel like sophisticated independent commemorative merchandise, not counterfeit official apparel. Ensure all visible text is correctly spelled and legible. Deliver one complete standalone graphic at 1200x896 landscape.",
"width": 1200,
"height": 896,
"settings": {
"webSearch": True,
"imageSearch": True
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "6f53b50a-5a2e-447c-9c3d-95a2f8f92c6d",
"model": "google:nano-banana@2.1",
"positivePrompt": "Create a finished landscape apparel graphic for the back of a premium commemorative T-shirt celebrating NASA’s Artemis II crewed lunar flyby mission. This must be flat print artwork only, not a shirt mockup, product photo, presentation board, or framed poster.\n\nCURRENT-FACT GROUNDING IS ESSENTIAL: before designing, use live web search to verify the latest official Artemis II crew roster, mission status, planned launch date or launch window, mission duration, and trajectory description from current NASA and Canadian Space Agency sources. Use image search grounding to study up-to-date official photographs of the four current crew members, the current Orion spacecraft configuration, the Space Launch System, modern launch-and-entry suits, and the mission’s free-return lunar trajectory. Do not rely on older training data when current official information differs. Include only facts that can be confirmed by current official sources. If an exact launch date is not officially firm, print the current official launch month or window rather than inventing a day.\n\nArt direction: a bold late-1970s space-program tour-shirt aesthetic reinterpreted with contemporary editorial precision. Build one cohesive screen-print-style composition with a large cream-colored Moon dominating the right half, an accurately recognizable Orion spacecraft sweeping around its far edge, and a clean orbital path looping from Earth around the Moon. Place a compact blue-and-white Earth near the lower left and an SLS launch silhouette rising behind it. Across the center, arrange four dignified illustrated crew portraits based on current official visual references, recognizable but simplified into confident halftone and flat-color shapes. Keep all people respectful, naturally proportioned, and equally prominent.\n\nTypography is fundamental to this merchandise design. Set the main headline exactly as “ARTEMIS II” in large custom condensed lettering. Add “CREWED LUNAR FLYBY” as a smaller secondary line. List the verified current crew surnames in a balanced single line, spelled exactly as confirmed by official sources. Add a restrained factual footer containing the verified current planned launch window, the approximate verified mission duration, and “EARTH • MOON • EARTH”. Include a small line reading “MISSION STATUS:” followed by a concise, accurate status based on the latest official update. Do not include URLs, citations, sponsor marks, fake endorsements, or fabricated mission statistics.\n\nPalette: deep midnight navy background, lunar cream, oxidized safety orange, icy cyan, and a small amount of white. Use thick printable contours, controlled halftone shading, subtle misregistration character, sparse star dots, and crisp negative space. No gradients that would be difficult to screen print, no photorealistic background, and no excessive tiny details. Keep the silhouette strong and readable from several meters away. Integrate the lettering into the illustration rather than placing it in boxes. Preserve generous clear space around every edge for garment printing. Do not reproduce NASA or CSA logos; this should feel like sophisticated independent commemorative merchandise, not counterfeit official apparel. Ensure all visible text is correctly spelled and legible. Deliver one complete standalone graphic at 1200x896 landscape.",
"width": 1200,
"height": 896,
"settings": {
"webSearch": true,
"imageSearch": true
}
}
]'runware run google:nano-banana@2.1 \
positivePrompt="Create a finished landscape apparel graphic for the back of a premium commemorative T-shirt celebrating NASA’s Artemis II crewed lunar flyby mission. This must be flat print artwork only, not a shirt mockup, product photo, presentation board, or framed poster.
CURRENT-FACT GROUNDING IS ESSENTIAL: before designing, use live web search to verify the latest official Artemis II crew roster, mission status, planned launch date or launch window, mission duration, and trajectory description from current NASA and Canadian Space Agency sources. Use image search grounding to study up-to-date official photographs of the four current crew members, the current Orion spacecraft configuration, the Space Launch System, modern launch-and-entry suits, and the mission’s free-return lunar trajectory. Do not rely on older training data when current official information differs. Include only facts that can be confirmed by current official sources. If an exact launch date is not officially firm, print the current official launch month or window rather than inventing a day.
Art direction: a bold late-1970s space-program tour-shirt aesthetic reinterpreted with contemporary editorial precision. Build one cohesive screen-print-style composition with a large cream-colored Moon dominating the right half, an accurately recognizable Orion spacecraft sweeping around its far edge, and a clean orbital path looping from Earth around the Moon. Place a compact blue-and-white Earth near the lower left and an SLS launch silhouette rising behind it. Across the center, arrange four dignified illustrated crew portraits based on current official visual references, recognizable but simplified into confident halftone and flat-color shapes. Keep all people respectful, naturally proportioned, and equally prominent.
Typography is fundamental to this merchandise design. Set the main headline exactly as “ARTEMIS II” in large custom condensed lettering. Add “CREWED LUNAR FLYBY” as a smaller secondary line. List the verified current crew surnames in a balanced single line, spelled exactly as confirmed by official sources. Add a restrained factual footer containing the verified current planned launch window, the approximate verified mission duration, and “EARTH • MOON • EARTH”. Include a small line reading “MISSION STATUS:” followed by a concise, accurate status based on the latest official update. Do not include URLs, citations, sponsor marks, fake endorsements, or fabricated mission statistics.
Palette: deep midnight navy background, lunar cream, oxidized safety orange, icy cyan, and a small amount of white. Use thick printable contours, controlled halftone shading, subtle misregistration character, sparse star dots, and crisp negative space. No gradients that would be difficult to screen print, no photorealistic background, and no excessive tiny details. Keep the silhouette strong and readable from several meters away. Integrate the lettering into the illustration rather than placing it in boxes. Preserve generous clear space around every edge for garment printing. Do not reproduce NASA or CSA logos; this should feel like sophisticated independent commemorative merchandise, not counterfeit official apparel. Ensure all visible text is correctly spelled and legible. Deliver one complete standalone graphic at 1200x896 landscape." \
width=1200 \
height=896 \
settings.webSearch=true \
settings.imageSearch=true{
"taskType": "imageInference",
"taskUUID": "6f53b50a-5a2e-447c-9c3d-95a2f8f92c6d",
"model": "google:nano-banana@2.1",
"positivePrompt": "Create a finished landscape apparel graphic for the back of a premium commemorative T-shirt celebrating NASA’s Artemis II crewed lunar flyby mission. This must be flat print artwork only, not a shirt mockup, product photo, presentation board, or framed poster.\n\nCURRENT-FACT GROUNDING IS ESSENTIAL: before designing, use live web search to verify the latest official Artemis II crew roster, mission status, planned launch date or launch window, mission duration, and trajectory description from current NASA and Canadian Space Agency sources. Use image search grounding to study up-to-date official photographs of the four current crew members, the current Orion spacecraft configuration, the Space Launch System, modern launch-and-entry suits, and the mission’s free-return lunar trajectory. Do not rely on older training data when current official information differs. Include only facts that can be confirmed by current official sources. If an exact launch date is not officially firm, print the current official launch month or window rather than inventing a day.\n\nArt direction: a bold late-1970s space-program tour-shirt aesthetic reinterpreted with contemporary editorial precision. Build one cohesive screen-print-style composition with a large cream-colored Moon dominating the right half, an accurately recognizable Orion spacecraft sweeping around its far edge, and a clean orbital path looping from Earth around the Moon. Place a compact blue-and-white Earth near the lower left and an SLS launch silhouette rising behind it. Across the center, arrange four dignified illustrated crew portraits based on current official visual references, recognizable but simplified into confident halftone and flat-color shapes. Keep all people respectful, naturally proportioned, and equally prominent.\n\nTypography is fundamental to this merchandise design. Set the main headline exactly as “ARTEMIS II” in large custom condensed lettering. Add “CREWED LUNAR FLYBY” as a smaller secondary line. List the verified current crew surnames in a balanced single line, spelled exactly as confirmed by official sources. Add a restrained factual footer containing the verified current planned launch window, the approximate verified mission duration, and “EARTH • MOON • EARTH”. Include a small line reading “MISSION STATUS:” followed by a concise, accurate status based on the latest official update. Do not include URLs, citations, sponsor marks, fake endorsements, or fabricated mission statistics.\n\nPalette: deep midnight navy background, lunar cream, oxidized safety orange, icy cyan, and a small amount of white. Use thick printable contours, controlled halftone shading, subtle misregistration character, sparse star dots, and crisp negative space. No gradients that would be difficult to screen print, no photorealistic background, and no excessive tiny details. Keep the silhouette strong and readable from several meters away. Integrate the lettering into the illustration rather than placing it in boxes. Preserve generous clear space around every edge for garment printing. Do not reproduce NASA or CSA logos; this should feel like sophisticated independent commemorative merchandise, not counterfeit official apparel. Ensure all visible text is correctly spelled and legible. Deliver one complete standalone graphic at 1200x896 landscape.",
"width": 1200,
"height": 896,
"settings": {
"webSearch": true,
"imageSearch": true
}
}Response
{
"taskType": "imageInference",
"taskUUID": "6f53b50a-5a2e-447c-9c3d-95a2f8f92c6d",
"imageUUID": "75fdfcd9-eef8-429c-b4cd-01681074dc39",
"imageURL": "https://im.runware.ai/image/os/a10dlim3/ws/3/ii/75fdfcd9-eef8-429c-b4cd-01681074dc39.jpg",
"seed": 1998337382,
"cost": 0.0905495
}identity-preservation
Tidal Sound Festival Press Portrait$0.0544~22s
Create one realistic landscape press photograph for the staff page and launch announcement of a coastal field-recording event called the Tidal Sound Festival. Use reference image 1 as the identity reference and preserve the same person recognisably: identical facial structure, eyes, nose, mouth, shoulder-length salt-and-pepper hair, apparent age, natural skin texture, and sturdy build. Use reference image 2 as the exact wardrobe reference; she is wearing the same teal waterproof fisherman's smock with its navy reinforced cuffs and divided front pocket. Photograph her in a believable working setting: a modest marine acoustics workshop near the coast, preparing equipment for the festival. She stands beside a scarred plywood worktable, loosely coiling a hydrophone cable with one hand while the other rests near two compact underwater microphones, waterproof connectors, labeled equipment cases, a notebook, and practical hand tools. The room has painted concrete walls, open utility shelving, cable reels, rubber boots, and a glimpse of an overcast harbor through a window. Keep the space functional and slightly untidy rather than art-directed. She looks toward the camera with a relaxed, capable expression, as if briefly pausing during setup. Compose as an editorial environmental portrait with the subject slightly left of center, framed from mid-thigh upward, with enough workshop context to establish her role and clean negative space on the right for optional press-page cropping. Use an ordinary eye-level 50mm documentary lens, moderate depth of field, accurate perspective, and restrained color. Light the scene only with soft overcast window light and normal overhead workshop fixtures. Preserve realistic shadows, modest contrast, neutral skin tones, and believable material textures. The result should feel like a photograph made by a local newspaper or festival communications photographer: candid but composed, professional without glamour, no cinematic lighting, no dramatic color grading, no artificial haze, no stage lighting, no exaggerated bokeh, no fashion styling, no signage, no logos, no captions, and no text in the image.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'google:nano-banana@2.1',
positivePrompt: 'Create one realistic landscape press photograph for the staff page and launch announcement of a coastal field-recording event called the Tidal Sound Festival. Use reference image 1 as the identity reference and preserve the same person recognisably: identical facial structure, eyes, nose, mouth, shoulder-length salt-and-pepper hair, apparent age, natural skin texture, and sturdy build. Use reference image 2 as the exact wardrobe reference; she is wearing the same teal waterproof fisherman\'s smock with its navy reinforced cuffs and divided front pocket.\n\nPhotograph her in a believable working setting: a modest marine acoustics workshop near the coast, preparing equipment for the festival. She stands beside a scarred plywood worktable, loosely coiling a hydrophone cable with one hand while the other rests near two compact underwater microphones, waterproof connectors, labeled equipment cases, a notebook, and practical hand tools. The room has painted concrete walls, open utility shelving, cable reels, rubber boots, and a glimpse of an overcast harbor through a window. Keep the space functional and slightly untidy rather than art-directed. She looks toward the camera with a relaxed, capable expression, as if briefly pausing during setup.\n\nCompose as an editorial environmental portrait with the subject slightly left of center, framed from mid-thigh upward, with enough workshop context to establish her role and clean negative space on the right for optional press-page cropping. Use an ordinary eye-level 50mm documentary lens, moderate depth of field, accurate perspective, and restrained color. Light the scene only with soft overcast window light and normal overhead workshop fixtures. Preserve realistic shadows, modest contrast, neutral skin tones, and believable material textures. The result should feel like a photograph made by a local newspaper or festival communications photographer: candid but composed, professional without glamour, no cinematic lighting, no dramatic color grading, no artificial haze, no stage lighting, no exaggerated bokeh, no fashion styling, no signage, no logos, no captions, and no text in the image.',
resolution: '2K',
inputs: {
referenceImages: [
'https://assets.runware.ai/assets/inputs/ce33b929-d697-4711-9a11-63b8e2f649a7.jpg',
'https://assets.runware.ai/assets/inputs/07934124-1c80-4315-8a5c-90e77eb9c386.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": "google:nano-banana@2.1",
"positivePrompt": "Create one realistic landscape press photograph for the staff page and launch announcement of a coastal field-recording event called the Tidal Sound Festival. Use reference image 1 as the identity reference and preserve the same person recognisably: identical facial structure, eyes, nose, mouth, shoulder-length salt-and-pepper hair, apparent age, natural skin texture, and sturdy build. Use reference image 2 as the exact wardrobe reference; she is wearing the same teal waterproof fisherman's smock with its navy reinforced cuffs and divided front pocket.\n\nPhotograph her in a believable working setting: a modest marine acoustics workshop near the coast, preparing equipment for the festival. She stands beside a scarred plywood worktable, loosely coiling a hydrophone cable with one hand while the other rests near two compact underwater microphones, waterproof connectors, labeled equipment cases, a notebook, and practical hand tools. The room has painted concrete walls, open utility shelving, cable reels, rubber boots, and a glimpse of an overcast harbor through a window. Keep the space functional and slightly untidy rather than art-directed. She looks toward the camera with a relaxed, capable expression, as if briefly pausing during setup.\n\nCompose as an editorial environmental portrait with the subject slightly left of center, framed from mid-thigh upward, with enough workshop context to establish her role and clean negative space on the right for optional press-page cropping. Use an ordinary eye-level 50mm documentary lens, moderate depth of field, accurate perspective, and restrained color. Light the scene only with soft overcast window light and normal overhead workshop fixtures. Preserve realistic shadows, modest contrast, neutral skin tones, and believable material textures. The result should feel like a photograph made by a local newspaper or festival communications photographer: candid but composed, professional without glamour, no cinematic lighting, no dramatic color grading, no artificial haze, no stage lighting, no exaggerated bokeh, no fashion styling, no signage, no logos, no captions, and no text in the image.",
"resolution": "2K",
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/ce33b929-d697-4711-9a11-63b8e2f649a7.jpg",
"https://assets.runware.ai/assets/inputs/07934124-1c80-4315-8a5c-90e77eb9c386.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": "bbbca8df-ccc2-49de-82d7-8cbc2f11d55d",
"model": "google:nano-banana@2.1",
"positivePrompt": "Create one realistic landscape press photograph for the staff page and launch announcement of a coastal field-recording event called the Tidal Sound Festival. Use reference image 1 as the identity reference and preserve the same person recognisably: identical facial structure, eyes, nose, mouth, shoulder-length salt-and-pepper hair, apparent age, natural skin texture, and sturdy build. Use reference image 2 as the exact wardrobe reference; she is wearing the same teal waterproof fisherman's smock with its navy reinforced cuffs and divided front pocket.\n\nPhotograph her in a believable working setting: a modest marine acoustics workshop near the coast, preparing equipment for the festival. She stands beside a scarred plywood worktable, loosely coiling a hydrophone cable with one hand while the other rests near two compact underwater microphones, waterproof connectors, labeled equipment cases, a notebook, and practical hand tools. The room has painted concrete walls, open utility shelving, cable reels, rubber boots, and a glimpse of an overcast harbor through a window. Keep the space functional and slightly untidy rather than art-directed. She looks toward the camera with a relaxed, capable expression, as if briefly pausing during setup.\n\nCompose as an editorial environmental portrait with the subject slightly left of center, framed from mid-thigh upward, with enough workshop context to establish her role and clean negative space on the right for optional press-page cropping. Use an ordinary eye-level 50mm documentary lens, moderate depth of field, accurate perspective, and restrained color. Light the scene only with soft overcast window light and normal overhead workshop fixtures. Preserve realistic shadows, modest contrast, neutral skin tones, and believable material textures. The result should feel like a photograph made by a local newspaper or festival communications photographer: candid but composed, professional without glamour, no cinematic lighting, no dramatic color grading, no artificial haze, no stage lighting, no exaggerated bokeh, no fashion styling, no signage, no logos, no captions, and no text in the image.",
"resolution": "2K",
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/ce33b929-d697-4711-9a11-63b8e2f649a7.jpg",
"https://assets.runware.ai/assets/inputs/07934124-1c80-4315-8a5c-90e77eb9c386.jpg"
]
}
}
]'runware run google:nano-banana@2.1 \
positivePrompt="Create one realistic landscape press photograph for the staff page and launch announcement of a coastal field-recording event called the Tidal Sound Festival. Use reference image 1 as the identity reference and preserve the same person recognisably: identical facial structure, eyes, nose, mouth, shoulder-length salt-and-pepper hair, apparent age, natural skin texture, and sturdy build. Use reference image 2 as the exact wardrobe reference; she is wearing the same teal waterproof fisherman's smock with its navy reinforced cuffs and divided front pocket.
Photograph her in a believable working setting: a modest marine acoustics workshop near the coast, preparing equipment for the festival. She stands beside a scarred plywood worktable, loosely coiling a hydrophone cable with one hand while the other rests near two compact underwater microphones, waterproof connectors, labeled equipment cases, a notebook, and practical hand tools. The room has painted concrete walls, open utility shelving, cable reels, rubber boots, and a glimpse of an overcast harbor through a window. Keep the space functional and slightly untidy rather than art-directed. She looks toward the camera with a relaxed, capable expression, as if briefly pausing during setup.
Compose as an editorial environmental portrait with the subject slightly left of center, framed from mid-thigh upward, with enough workshop context to establish her role and clean negative space on the right for optional press-page cropping. Use an ordinary eye-level 50mm documentary lens, moderate depth of field, accurate perspective, and restrained color. Light the scene only with soft overcast window light and normal overhead workshop fixtures. Preserve realistic shadows, modest contrast, neutral skin tones, and believable material textures. The result should feel like a photograph made by a local newspaper or festival communications photographer: candid but composed, professional without glamour, no cinematic lighting, no dramatic color grading, no artificial haze, no stage lighting, no exaggerated bokeh, no fashion styling, no signage, no logos, no captions, and no text in the image." \
resolution=2K \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/ce33b929-d697-4711-9a11-63b8e2f649a7.jpg \
inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/07934124-1c80-4315-8a5c-90e77eb9c386.jpg{
"taskType": "imageInference",
"taskUUID": "bbbca8df-ccc2-49de-82d7-8cbc2f11d55d",
"model": "google:nano-banana@2.1",
"positivePrompt": "Create one realistic landscape press photograph for the staff page and launch announcement of a coastal field-recording event called the Tidal Sound Festival. Use reference image 1 as the identity reference and preserve the same person recognisably: identical facial structure, eyes, nose, mouth, shoulder-length salt-and-pepper hair, apparent age, natural skin texture, and sturdy build. Use reference image 2 as the exact wardrobe reference; she is wearing the same teal waterproof fisherman's smock with its navy reinforced cuffs and divided front pocket.\n\nPhotograph her in a believable working setting: a modest marine acoustics workshop near the coast, preparing equipment for the festival. She stands beside a scarred plywood worktable, loosely coiling a hydrophone cable with one hand while the other rests near two compact underwater microphones, waterproof connectors, labeled equipment cases, a notebook, and practical hand tools. The room has painted concrete walls, open utility shelving, cable reels, rubber boots, and a glimpse of an overcast harbor through a window. Keep the space functional and slightly untidy rather than art-directed. She looks toward the camera with a relaxed, capable expression, as if briefly pausing during setup.\n\nCompose as an editorial environmental portrait with the subject slightly left of center, framed from mid-thigh upward, with enough workshop context to establish her role and clean negative space on the right for optional press-page cropping. Use an ordinary eye-level 50mm documentary lens, moderate depth of field, accurate perspective, and restrained color. Light the scene only with soft overcast window light and normal overhead workshop fixtures. Preserve realistic shadows, modest contrast, neutral skin tones, and believable material textures. The result should feel like a photograph made by a local newspaper or festival communications photographer: candid but composed, professional without glamour, no cinematic lighting, no dramatic color grading, no artificial haze, no stage lighting, no exaggerated bokeh, no fashion styling, no signage, no logos, no captions, and no text in the image.",
"resolution": "2K",
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/ce33b929-d697-4711-9a11-63b8e2f649a7.jpg",
"https://assets.runware.ai/assets/inputs/07934124-1c80-4315-8a5c-90e77eb9c386.jpg"
]
}
}Response
{
"taskType": "imageInference",
"taskUUID": "bbbca8df-ccc2-49de-82d7-8cbc2f11d55d",
"imageUUID": "5e2f8fb8-be08-43a3-a967-007995e4f515",
"imageURL": "https://im.runware.ai/image/os/a08dlim3/ws/4/ii/5e2f8fb8-be08-43a3-a967-007995e4f515.jpg",
"seed": 51206488,
"cost": 0.0543795
}