Text-to-Image vs Image-to-Image: When to Use Each
Compare text-to-image and image-to-image on Giky API for design teams choosing between written prompts and reference photos across hosted image model contracts.
Fresh concept exploration vs asset preservation
Start with text-to-image when exploring new campaign moods from scratch without an existing photograph. Switch to image-to-image once an approved product shot must stay recognizable across fresh backgrounds, lighting, or ad sizes.

When you kick off an image job on Giky API, your first real fork in the road is whether to start from a written prompt alone or bring a reference image along for the ride. That choice changes how much freedom the model has to invent a scene, how much setup your team does before sending a request, and what reviewers have to check when results come back.
Because every job runs asynchronously and costs shift by model, resolution, quality tier, and current rates, picking the right starting point early saves time and avoids mismatched requests.
Side-by-side comparison
Swipe horizontally to compare all columns →
| Decision | Text-to-Image | Image-to-Image |
|---|---|---|
| Starting input | Written prompt describing subject, scene, and framing | Approved source image URLs plus a guiding prompt |
| Asset preparation | Low upfront asset prep; focused on prompt and parameters | Higher prep; source images must be hosted and within limits |
| Creative latitude | High freedom to explore compositions and styles from text | Anchored to reference inputs; drift still requires inspection |
| Review focus | Prompt alignment, composition, framing, and brand tone | Reference fidelity, label or form accuracy, and artifacts |
| Model support | Listed across catalog image models | Requires image-to-image support; not on Qwen Image (original) |
| Reference cap | No image_urls field in text-to-image input schema | Up to 8 on Nano Banana Pro, 10 to 14 on others, 16 on GPT Image |
| Cost drivers | Model, resolution or quality tier, and published pricing | Model, resolution or quality tier, reference setup, and pricing |
Contract details checked November 26, 2026. Available combinations and prices can change; confirm the current model reference before submitting a task.
Starting From a Concept vs. an Approved Image
- 01Write prompt and choose settings
- 02Submit text-to-image task
- 03Review new visual against brief
- 01Host image_urls and check cap
- 02Submit image-to-image task
- 03Audit adherence to reference
When should you explore ideas with text-to-image?
When you are hunting for a fresh look rather than matching an existing photo, text-to-image gives you room to test directions fast. You can spell out the lighting, camera angle, props, and color mood in plain words and compare several takes before locking in a style.
That works best in early mood-board rounds or pitch decks where nobody has signed off on a final look yet. With no source picture pinning down placement or layout, your wording carries most of the weight—so being specific about the subject, setting, and framing pays off right away.
It also makes testing sizes and quality tiers straightforward. You can try a wide layout at a lower resolution or quality tier first, tweak the prompt if the framing feels off, and step up the resolution once the composition earns a nod.
- Test rough ideas and layouts with text-to-image before committing to higher settings.
- Spell out the subject, setting, lighting, and framing clearly in your prompt.
How Can Reference Images Guide an Edit?
Once you already have a product design, mascot, packaging layout, or approved reference frame, starting from text alone gets risky. Even careful phrasing can shift lettering, proportions, or small details when a model builds a scene from scratch, turning a quick adaptation into tedious fixes.
Image-to-image ties the job to one or more source links in image_urls alongside a prompt describing how the scene or framing should change. For merchandising and brand work, that keeps familiar visual anchors closer to what you already have while letting the prompt shift the backdrop, lighting, or aspect ratio.
Even so, passing reference links does not lock in every detail automatically. You still need to look closely at whether key traits held up and whether stray artifacts crept in where things changed—especially when you combine several references or shift aspect ratios.
- Pass hosted links in image_urls when an existing visual needs to guide the result.
- Check both preserved details and changed areas before signing off on an asset.
How can both workflows share a product launch?
Looking at both options on the same brief makes the trade-offs easier to spot. Say you are launching a botanical face mist and need both an editorial hero image and social cards that keep the bottle shape and label readable.
Starting with text-to-image lets you try sunlit stone counters, leaf shadows, and morning studio light quickly without waiting on final retouching. Once a look clicks, you can even take that approved image and pass its link into an image-to-image run for follow-up framing or variations.
Starting straight with image-to-image from a hosted link of the approved bottle makes more sense when label placement and color blocks must hold steady across promos. Most teams end up mixing both: text-to-image to explore, and image-to-image once a concrete visual needs controlled adaptation.
How do you send and retry async tasks?
Every generation request on Giky API goes to POST /v1/tasks as JSON and runs asynchronously, returning HTTP 202 with a task id you poll through GET /v1/tasks/{id}. The endpoint does not accept multipart uploads, base64 files, or batch arrays, and it caps JSON bodies at 64 KiB, so your request has to match the model and operation you pick.
Required fields change by model. For instance, gpt-image-2 expects prompt, resolution, and quality for text-to-image, and adds image_urls (up to 16 items) for image-to-image, while nano-banana only needs prompt for text-to-image and adds image_urls (up to 10 items) for image-to-image without a resolution field.
Include an Authorization Bearer header and an Idempotency-Key of 8 to 128 allowed characters on every call. If a timeout or 5xx happens before you know whether the task was created, resend the exact same body with the same Idempotency-Key instead of generating a new one.
- Check which fields—such as resolution and quality—the chosen model requires.
- Keep JSON requests under 64 KiB and reuse the same Idempotency-Key on uncertain retries.
curl --request POST 'https://gikyapi.com/v1/tasks' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: campaign-t2i-20261126-001' \
--data '{
"model": "gpt-image-2",
"operation": "text-to-image",
"input": {
"prompt": "Minimalist ceramic pour-over coffee dripper on warm oak counter, soft morning window light, clean editorial composition",
"resolution": "2K",
"quality": "medium",
"aspect_ratio": "4:3",
"output_format": "png"
}
}'Illustrative request only; inspect the returned task id and poll GET /v1/tasks/{id} every five seconds or more until status reaches succeeded.
{
"model": "nano-banana",
"operation": "image-to-image",
"input": {
"prompt": "Place the reference product on a light linen table with soft natural shadows while preserving its label and silhouette",
"image_urls": [
"https://assets.example.com/approved/product-front.png"
],
"aspect_ratio": "1:1",
"output_format": "png"
}
}Illustrative payload for POST /v1/tasks; verify that image_urls stays within nano-banana's limit of 10 items and check live model availability.
Which models fit your input and prompt limits?
Not every image model on Giky API supports the same operations or input caps, so check the model's details before wiring up a workflow. Qwen Image (original) supports text-to-image at 1024*1024, 1536*1024, and 1024*1536, and does not offer image-to-image, so any reference-driven job needs a model that supports image-to-image.
Among models that do support image-to-image, maximum image_urls counts vary: GPT Image 2, GPT Image 2.5 Flare, and GPT Image 2.5 Sunburst allow up to 16 links; Seedream 5 Lite allows up to 14; Nano Banana, Nano Banana 2.1, Seedream 5 Flash, and Seedream 5 Pro allow up to 10; and Nano Banana Pro allows up to 8. Prompt length limits also differ, reaching up to 20,000 characters on GPT Image and Nano Banana models compared to 2,995 on Seedream 5 Lite or 5,000 on Seedream 5 Flash and Seedream 5 Pro.
Make sure generationAvailable is active on the model before building jobs around it—seeing a model in the catalog does not mean generation is currently open.
| Model | Operations | Key Schema Limits |
|---|---|---|
| gpt-image-2 | text-to-image, image-to-image | image_urls max 16; 1K/2K/4K; quality low/medium/high |
| nano-banana-pro | text-to-image, image-to-image | image_urls max 8; 1K/2K/4K; prompt max 20,000 chars |
| nano-banana | text-to-image, image-to-image | image_urls max 10; aspect_ratio auto supported; png/jpeg |
| seedream-5-lite | text-to-image, image-to-image | image_urls max 14; 2K/3K/4K; prompt 4-2,995 chars |
| seedream-5-pro | text-to-image, image-to-image | image_urls max 10; 1K/2K; prompt 4-5,000 chars |
| qwen-image | text-to-image | No image-to-image; fixed sizes 1024*1024, 1536*1024, 1024*1536 |
When does image-to-image slow down early exploration?
Image-to-image can feel like the safe default because it takes visual inputs, yet forcing a reference image into every run can slow you down. When you are brainstorming new scenes, abstract textures, or early visual metaphors, an unrelated reference image can tug the layout toward old compositions or extra details you never wanted.
It also adds setup steps before a job even starts. You have to host clean files at reachable links, stay inside the model's image_urls cap, and keep the JSON payload under 64 KiB—extra friction when you do not have an approved visual baseline yet.
Even when a reference exists, skipping image-to-image makes sense for loose mood boards or rough concept sketches. Save it for moments when preserving recognizable visual traits directly helps the deliverable.
How do you prep references and cap reruns?
When you use image-to-image, a little prep and a clear review routine keep small visual slips from turning into endless reruns. Before submitting, check that every link in image_urls is valid, reachable by the service, and within the model's item limit and resolution or aspect-ratio options.
When reviewing results, put the output next to the reference images instead of judging it alone. Check whether key visual anchors stayed recognizable, whether edges or nearby objects warped, and whether the format and resolution fit the next step in your design flow.
A simple rework log with clear stop rules saves you from chasing diminishing returns. If two focused prompt tweaks still do not hold an important detail or fix a warp, stop and rethink the source image or model rather than burning more runs.
| Stage / Check | Review & Deviation Focus | Stop / Escalation Condition |
|---|---|---|
| Input URL & cap check | Confirm valid URLs, schema fields, and image_urls count | Halt before submit if count exceeds maxItems or payload nears 64 KiB |
| Subject & label fidelity | Compare key product shapes, marks, and layout against source | Stop rerunning if core identity drifts after two prompt refinements |
| Background & lighting fit | Check edge blending, shadows, and aspect-ratio framing | Switch source image or adjust prompt if artifacts persist across two runs |
| Format & resolution check | Verify png, jpeg, webp, or jpg and resolution tier fit use case | Accept once within spec; log unresolved defect for design lead review |
How do you budget reruns and poll tasks?
Budgeting for text-to-image and image-to-image works best when you separate deliberate creative tweaks from transport retries. On Giky API, charges depend on the model, resolution or quality setting, and current published pricing rather than a fixed client formula, so check current rates before scaling up.
Say a hypothetical internal budget sets aside $12.00 for a small campaign test at a hypothetical $0.10 per image: ten text-to-image concept runs take $1.00, leaving $11.00 for targeted higher-resolution image-to-image passes and intentional creative reruns. Putting a clear per-asset cap on creative reruns keeps exploratory polish from eating the whole budget.
Handle async status and retries carefully too. Poll GET /v1/tasks/{id} every five seconds or longer until a terminal status comes back, do not resubmit while a task is running or needs_review, and call POST /v1/tasks/{id}/cancel only before upstream submission while cancellation is available.
- Keep intentional creative reruns separate from retries of failed network calls.
- Poll GET /v1/tasks/{id} every five seconds or more and handle needs_review carefully.
Frequently Asked Questions
When should I choose text-to-image over image-to-image on Giky API?
Choose text-to-image when you are exploring fresh concepts, mood boards, or scenes from a written prompt and do not need to preserve an existing visual. You skip source-image prep, can use text-to-image models across the catalog—including text-only ones like Qwen Image (original)—and iterate freely on layout first.
When does image-to-image make more sense?
Image-to-image makes more sense when you already have an approved product shot, layout, or visual reference that must stay recognizable across lighting, setting, or ratio changes. Pass hosted links in image_urls on a model that supports image-to-image, then compare the result against your source to verify continuity.
How many reference images fit in image_urls?
The cap on image_urls depends on the model's image-to-image schema. GPT Image 2, GPT Image 2.5 Flare, and GPT Image 2.5 Sunburst allow up to 16 links; Seedream 5 Lite allows up to 14; Nano Banana, Nano Banana 2.1, Seedream 5 Flash, and Seedream 5 Pro allow up to 10; and Nano Banana Pro allows up to 8.
Can I send base64 images or batches straight to POST /v1/tasks?
No. POST /v1/tasks handles one async task per request, does not take base64 uploads, multipart bodies, or batch arrays, and enforces a 64 KiB JSON body limit. Provide source images as hosted links in image_urls where supported, and keep payloads well under 64 KiB.
How should I poll and retry after submitting a task?
Save the task id from the HTTP 202 response and poll GET /v1/tasks/{id} every five seconds or longer until it reaches a terminal state. If a call times out or returns 5xx before you confirm task creation, resend the exact same body with the same Idempotency-Key rather than making a new key.
Does passing more reference images guarantee better accuracy?
No. A model's reference limit only sets how many links the schema accepts, not how closely the output matches them. Extra or conflicting reference images can complicate review, so send only clean, relevant links and check the output directly.
What Should You Do Next?
Test both approaches on a real brief using Giky API: run a text-to-image job from a clear prompt alongside an image-to-image job with a hosted reference link in image_urls on a supporting model. Poll GET /v1/tasks/{id} every five seconds or longer until it finishes, then compare prep effort, how well the reference holds up, and current published pricing. Start with a small capped batch so you can judge visual fit and rerun habits before rolling the workflow out more broadly.
Sources & scope
This is an editorial comparison of Giky API’s published integration contracts and documented workflows. It is not a measured ranking of model quality, speed or reliability. Illustrations explain the workflow; they do not show matched model outputs.

