@mindstudio-ai/remy 0.1.197 → 0.1.198
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/headless.js
CHANGED
|
@@ -4280,7 +4280,14 @@ async function generateImageAssets(opts) {
|
|
|
4280
4280
|
const height = opts.height || 2048;
|
|
4281
4281
|
const config = { width, height };
|
|
4282
4282
|
if (sourceImages?.length) {
|
|
4283
|
+
const [firstImage] = sourceImages;
|
|
4283
4284
|
config.images = sourceImages;
|
|
4285
|
+
config.source_images = sourceImages;
|
|
4286
|
+
config.image_ref = sourceImages;
|
|
4287
|
+
config.image = firstImage;
|
|
4288
|
+
config.image_url = firstImage;
|
|
4289
|
+
config.source_image = firstImage;
|
|
4290
|
+
config.source = firstImage;
|
|
4284
4291
|
}
|
|
4285
4292
|
const isEdit = !!sourceImages?.length;
|
|
4286
4293
|
const enhancedPrompts = isEdit ? prompts : await Promise.all(
|
package/dist/index.js
CHANGED
|
@@ -5015,7 +5015,14 @@ async function generateImageAssets(opts) {
|
|
|
5015
5015
|
const height = opts.height || 2048;
|
|
5016
5016
|
const config = { width, height };
|
|
5017
5017
|
if (sourceImages?.length) {
|
|
5018
|
+
const [firstImage] = sourceImages;
|
|
5018
5019
|
config.images = sourceImages;
|
|
5020
|
+
config.source_images = sourceImages;
|
|
5021
|
+
config.image_ref = sourceImages;
|
|
5022
|
+
config.image = firstImage;
|
|
5023
|
+
config.image_url = firstImage;
|
|
5024
|
+
config.source_image = firstImage;
|
|
5025
|
+
config.source = firstImage;
|
|
5019
5026
|
}
|
|
5020
5027
|
const isEdit = !!sourceImages?.length;
|
|
5021
5028
|
const enhancedPrompts = isEdit ? prompts : await Promise.all(
|
|
@@ -15,12 +15,19 @@ Examples of good density:
|
|
|
15
15
|
These are non-negotiable. Violating them produces bad output.
|
|
16
16
|
|
|
17
17
|
- **No hex codes.** The model renders hex codes as visible text in the image. Describe colors by name and relationship: "deep emerald green with a smooth satin finish" or "warm sand beige fading into pale desaturated blue" — never "#7C3AED".
|
|
18
|
-
- **No quoted strings.** Any single or double quoted string gets rendered as literal text in the image.
|
|
19
18
|
- **No physical object framing.** Words like "artwork", "painting", "canvas", "print", "app icon", "square digital artwork" produce photorealistic mockups of a painting in a frame or an icon inset on a background. Describe the visual content directly.
|
|
20
|
-
- **No text triggers.** Words like "poster", "magazine cover", "editorial spread", "sign", or brand names risk rendering literal text, mastheads, or mockup layouts. If you want an editorial photography *style*, describe the photographic qualities — not the format.
|
|
21
19
|
- **Describe what you want, not what you don't want.** Negation doesn't work — "street with no cars" activates "cars." Say "empty street" instead.
|
|
22
20
|
- **No body part positioning.** Don't describe specific arrangements of arms, legs, or limbs.
|
|
23
|
-
- **No
|
|
21
|
+
- **No other brands as a style shortcut.** Don't borrow another company's identity as shorthand — "Apple style", "Nintendo style" — it renders that company's literal logo. (A brand's *own* name or wordmark on its *own* asset is intended text, not this — see Text & wordmarks below.)
|
|
22
|
+
|
|
23
|
+
## Text & wordmarks
|
|
24
|
+
|
|
25
|
+
The model renders text well — but only the text you tell it to, so quotation marks mean "render this literally." Use them deliberately.
|
|
26
|
+
|
|
27
|
+
- **Reproduce intended text exactly.** When the brief names a wordmark, brand name, label, sign, headline, or UI copy, carry the exact string through in quotes — e.g. a wordmark reading "Solid Credit". Never drop it, paraphrase it, or genericize it to "a wordmark": the literal text is usually the whole point of the asset, and if you omit it the model fills the space with an invented placeholder.
|
|
28
|
+
- **Direct the typography and placement.** Specify weight, case, color, and position so the text lands where the designer wants it — "a near-black grotesque sans-serif wordmark reading 'Solid Credit', centered directly below the mark."
|
|
29
|
+
- **Keep it short.** Wordmarks, labels, and short taglines render reliably; full sentences and paragraphs degrade into garbled glyphs. Trim long copy to the few words that matter, or leave it out.
|
|
30
|
+
- **Don't summon text you don't want.** When the image should have no text, don't quote stray descriptive phrases, and avoid format words that imply copy — "poster", "magazine cover", "sign", "billboard" — which can produce spurious text or mastheads. For an editorial *style*, describe the photographic qualities, not the format.
|
|
24
31
|
|
|
25
32
|
## Composition
|
|
26
33
|
|