HiAPI
  • Models
  • Pricing
Search

Search HiAPI models, tools, and resources.

  • Models
  • Pricing
HiAPI

One API, All AI Models

Generate images, video, and audio with leading models through one production-ready API.

Get a free API key

AI Image API

  • All image models
  • GPT Image 2
  • Nano Banana 2
  • Seedream 5.0 Pro
  • Qwen Image 2.0 Pro
  • FLUX 1.1 Pro

AI Video API

  • All video models
  • Seedance 2.5
  • FLUX.3 Video
  • Seedance 2.0
  • Veo 3.1
  • Kling 3.0

AI Audio API

  • All audio models
  • MiniMax Music 2.6
  • MiniMax Music 1.5
  • ElevenLabs v3
  • Text to music
  • Text to speech

Product

  • Model marketplace
  • Playground
  • Pricing
  • Image API Cost Calculator
  • Free GPT Image 2 Generator
  • Free Nano Banana Image Generator
  • Outfit Preview
  • Product Photo Lab

Developers

  • Documentation
  • API Reference
  • Agent Skills
  • LLM integration index
  • Blog

Company

  • About
  • Contact support
  • Terms of Service
  • Privacy Policy

© 2026 hiapi. All rights reserved.

Open source on GitHubPython SDK on PyPI
  • The exact input schema (probed, not guessed)
  • Recipe 1 — Colorway variants for product listings
  • Recipe 2 — Three-reference fusion: product × material × scene
  • Recipe 3 — Phone snapshot → editorial food photo
  • Recipe 4 — Same character, new scene
  • Recipe 5 — Same source, different job: photo → flat vector illustration
  • Recipe 6 — The 4K detail pass (where 4.5 outruns the pro tier)
  • The patterns behind all six
  • FAQ
  • Try it
GuideJul 12, 20268 min read

Seedream 4.5 Image-to-Image Prompt Recipes: 6 Copy-Paste Edits With Real Outputs

Six editing recipes for seedream-4.5/image-to-image at $0.045 a call — a colorway variant, a three-reference material-and-scene fusion, a phone-photo relight, a character-consistent scene move, a flat-vector restyle, and a 4K detail pass the pro tier can't do.

HiAPI TeamSeedreamImage APIPrompt EngineeringGuide

Latest models

Explore models

Contents
  • The exact input schema (probed, not guessed)
  • Recipe 1 — Colorway variants for product listings
  • Recipe 2 — Three-reference fusion: product × material × scene
  • Recipe 3 — Phone snapshot → editorial food photo
  • Recipe 4 — Same character, new scene
  • Recipe 5 — Same source, different job: photo → flat vector illustration
  • Recipe 6 — The 4K detail pass (where 4.5 outruns the pro tier)
  • The patterns behind all six
  • FAQ
  • Try it

Generate it with HiAPI

Choose a model, enter your prompt, and see the result.

HiAPI Blog

Related articles

HiAPI

Generate it with HiAPI

Text-to-image is where new models show off; image-to-image is where they earn a place in a pipeline. At $0.045 per edit, seedream-4.5/image-to-image is a third of the price of the 5.0-pro tier, takes up to 14 reference images in one call, and — unlike the pro tier, which tops out at 2K — renders at 2K or 4K. That combination makes it the workhorse option: cheap enough to run colorway matrices and batch cleanups, capable enough for multi-reference composites.

Below are six editing recipes we actually ran. Every input image, every prompt, and every output is shown unretouched — what you see is the first take unless noted. Copy the prompts, swap in your own reference URLs, and they should transfer.

The exact input schema (probed, not guessed)

The task API validates strictly. seedream-4.5/image-to-image takes exactly four fields — anything extra is rejected with a 400:

FieldTypeValues
promptstringthe edit instruction
image_urlsarraypublic URLs, up to 14 reference images
aspect_ratiostring1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9
resolutionstring2K or 4K only

A full request, with polling:

curl -X POST https://api.hiapi.ai/v1/tasks \
  -H "Authorization: Bearer $HIAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream-4.5/image-to-image",
    "input": {
      "prompt": "recolor the sneaker to a deep forest green canvas with an off-white sole",
      "image_urls": ["https://your-cdn.example.com/sneaker.jpg"],
      "aspect_ratio": "3:2",
      "resolution": "2K"
    }
  }'
# → {"data":{"taskId":"tk-hiapi-..."}}

curl https://api.hiapi.ai/v1/tasks/tk-hiapi-... \
  -H "Authorization: Bearer $HIAPI_KEY"
# poll until status is "success", then download output[0].url — it expires, so save the file

Reference images must be publicly fetchable URLs. In our runs each 2K edit came back in roughly one to two minutes; the 4K pass in recipe 6 took a bit longer. For a full walkthrough of the endpoint (Python client, error handling), see the seedream-4.5 image-to-image API guide.

Recipe 1 — Colorway variants for product listings

The bread-and-butter e-commerce job: one hero shot, N colorways, nothing else moves. At $0.045 a variant, a ten-color matrix costs 45 cents.

Source (generated for this test, then used as the i2i input):

Source: white canvas sneaker product shot on gray background

recolor the sneaker to a deep forest green canvas with an off-white sole and
matching green laces; keep the exact same shoe shape, stitching, camera angle,
lighting, shadow and gray background unchanged

Output: same sneaker recolored to forest green, identical angle and lighting

The angle, contact shadow, and background survived the recolor. The pattern that makes this reliable: name the change once, then spend the rest of the prompt listing what must not change.

Recipe 2 — Three-reference fusion: product × material × scene

This is the recipe that uses what 4.5 is actually good at: multiple references resolved by position. Three inputs — the sneaker, a knitted wool swatch, a foggy forest trail:

Reference 2: burnt-orange cable-knit wool swatch macro

Reference 3: autumn forest trail with morning fog

rebuild the sneaker from the first image with its canvas upper made of the
burnt-orange cable-knit wool from the second image, then place it as a product
hero shot on the wet leaf-covered forest trail from the third image, low camera
angle, soft morning fog, keep the shoe's shape and proportions from the first
image, photorealistic

Output: sneaker rebuilt in cable-knit wool, shot low-angle on the foggy trail

First take. The silhouette and gum sole carried over from reference one, the cable braids from reference two wrap the upper convincingly, and the scene, fog and low angle came from reference three. One honest detail: it knitted the laces too, which we hadn't asked for — with material transfers, expect the material to spread to adjacent parts unless you fence it off explicitly ("keep the laces standard cotton laces").

The addressing scheme — "the X from the first image, the Y from the second" — is how you keep a many-reference prompt unambiguous. With 14 reference slots, this is the syntax that scales.

Recipe 3 — Phone snapshot → editorial food photo

The refinement job: a dim, yellow-cast phone photo of ramen, relit instead of reshot.

Source: underexposed phone photo of ramen with a yellow color cast

relight this exact bowl of ramen as a bright editorial food photograph: soft
window key light from the upper left, clean neutral white balance, gentle steam
rising, richer broth and egg color, keep the same bowl, ingredients, table and
overhead framing

Output: same ramen bowl relit as a bright editorial photo with steam

White balance corrected, steam added, the egg-left / chashu-right / scallion-front layout preserved. Two things drifted, and they're worth knowing about: the camera angle shifted slightly from the original framing, and the chashu fan went from five slices to three. Relighting is a re-render, not a filter — if exact ingredient counts matter (menus, packaging), say so in the prompt ("exactly five slices of chashu") and check the output.

Recipe 4 — Same character, new scene

Consistency test: move a person without changing who they are. Source portrait:

Source: portrait of an elderly fisherman in a green sweater by the harbor

move this same fisherman, with identical face, beard, beanie and green sweater,
into the wheelhouse of a small fishing boat at dawn, standing at the wooden
helm, cold blue morning light through the windows mixing with warm cabin light,
photorealistic

Output: the same fisherman at the helm inside a wheelhouse at dawn

Face, beard, beanie and sweater held across a full scene, pose and lighting change. The word "identical" attached to the specific features you care about does more work than a generic "keep the subject consistent." This is the recipe for storyboards and episodic content where one character has to survive many scenes.

Recipe 5 — Same source, different job: photo → flat vector illustration

Stylization, run on the same fisherman portrait as recipe 4 — one source image can feed multiple production jobs.

redraw this photo as a clean flat vector illustration with bold simplified
shapes and a limited palette of deep green, cream, charcoal and one warm orange
accent, subtle paper grain, keep the pose and composition recognizable, no text

Output: fisherman portrait redrawn as a flat vector illustration in a four-color palette

It respected the four-color constraint and kept the crate, the harbor boats and the pose. Naming the exact palette ("deep green, cream, charcoal and one warm orange accent") is what separates a usable brand illustration from a generic cartoon filter.

Recipe 6 — The 4K detail pass (where 4.5 outruns the pro tier)

seedream-4.5 renders at 4K; the 5.0-pro tier stops at 2K. That makes a chained detail pass possible: take an edit you already like, feed it back in, and re-render at 4K for print or zoomable product pages. Input here is recipe 1's green sneaker output.

re-render this product photo at maximum fidelity: keep the composition, colors,
lighting and background exactly as they are, sharpen the canvas weave, lace
texture and sole details, remove any compression artifacts

Output: the green sneaker re-rendered at 4K with sharper weave and sole detail

Two chained calls — the recolor plus the 4K pass — total $0.09. Chaining also happens to be the safer way to work: one edit per call keeps each step checkable, and a failed step only costs you 4.5 cents.

The patterns behind all six

  • One edit per call. Recolor, then upscale. Fuse, then restyle. Chained single-purpose edits beat one mega-prompt.
  • Spend most of the prompt on what must stay. "Keep the exact same angle, lighting, shadow and background" is the anchor that makes the one change land cleanly.
  • Address references by position. "The sneaker from the first image, the wool from the second" — order in image_urls is the only identity the model has for them.
  • Fence off materials and counts. Transfers spread (knitted laces) and re-renders approximate (three chashu, not five) unless you pin them explicitly.
  • 2K for the web, 4K as a finishing pass. Same price per call either way — $0.045, verified on the pricing page.

FAQ

How many reference images can one call take? Up to 14 public image URLs in image_urls. Address them by position in the prompt.

Can it output 1K? No — the schema accepts 2K or 4K only, and rejects anything else with a 400.

When should I use 5.0-pro instead? When single-edit fidelity on hard cases (faces in crowds, fine typography, complex composites) justifies 3× the price. For volume work, 4.5 first; escalate what fails. The pro-tier equivalents of these recipes are in the Seedream 5.0 Pro image-to-image collection.

Is text-to-image the same price? Yes — seedream-4.5/text-to-image is also $0.045 per image. All five source images in this post were generated with it at 2K.

Try it

Grab an API key, point image_urls at any public image, and start with recipe 1 — a recolor is the fastest way to feel out how the model balances "change this" against "keep that." The full parameter reference and playground are on the seedream-4.5/image-to-image model page, and the docs cover task polling and authentication in five minutes.

Latest models

View all models
  • GPT Image 2From $0.007/image
  • Nano Banana 2From $0.051/image
  • Seedream 5.0 ProFrom $0.050/image
  • Seedance 2.5From $0.121/s

Explore models

TextImageVideoAudio
Back to blog
GPT Image 2From $0.007/image
Nano Banana 2From $0.051/image
Seedream 5.0 ProFrom $0.050/image
Seedance 2.5From $0.121/s
View all models
TextChat and reasoning
ImageGenerate and edit
VideoText and image to video
AudioSpeech and music
Start generating
View model pricing
View all articles
Seedance 2.5 Text-to-Video: Build Short-Form Clips with the hiapi API

Seedance 2.5 Text-to-Video: Build Short-Form Clips with the hiapi API

Seedance 2.5 Reference-to-Video for Short-Form TikTok and Reels Clips

Seedance 2.5 Reference-to-Video for Short-Form TikTok and Reels Clips

Grok Imagine Image 2.0 Image-to-Image Prompts: 4 Recipes With Real Outputs

Grok Imagine Image 2.0 Image-to-Image Prompts: 4 Recipes With Real Outputs

Grok Imagine 2.0 Text-to-Image Prompt Recipes: Copy-Paste Prompts With Real Outputs

Grok Imagine 2.0 Text-to-Image Prompt Recipes: Copy-Paste Prompts With Real Outputs

Using flux-2-klein-9b/text-to-image for E-Commerce Product Images via the hiapi API

Using flux-2-klein-9b/text-to-image for E-Commerce Product Images via the hiapi API

Flux-2-Klein-9b Image-to-Image for E-Commerce Product Photos

Flux-2-Klein-9b Image-to-Image for E-Commerce Product Photos

Start generating