Skip to content

Commit 9930696

Browse files
author
Guiners
committed
Merge remote-tracking branch 'origin/sample/imggen' into sample/imggen
2 parents 7da5c3d + 4ee6e73 commit 9930696

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

genai/image-generation/imggen-subj-refer-ctrl-refer-with-txt-imgs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ async function generateImage(
6161
const response = await client.models.editImage({
6262
model: 'imagen-3.0-capability-001',
6363
prompt:
64-
'a portrait of a woman[1] in the pose of the control image[2]in a watercolor style by a professional artist,\n' +
65-
' light and low-contrast stokes, bright pastel colors, a warm atmosphere, clean background, grainy paper,\n' +
66-
' bold visible brushstrokes, patchy details',
64+
`a portrait of a woman[1] in the pose of the control image[2]in a watercolor style by a professional artist,
65+
light and low-contrast stokes, bright pastel colors, a warm atmosphere, clean background, grainy paper,
66+
bold visible brushstrokes, patchy details`,
6767
referenceImages: [subjectReferenceImage, controlReferenceImage],
6868
config: {
6969
editMode: 'EDIT_MODE_CONTROLLED_EDITING',

genai/test/imggen-raw-reference-with-txt-img.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const sample = require('../image-generation/imggen-raw-reference-with-txt-img');
2323
const {delay} = require('./util');
2424
const {createOutputGcsUri} = require('./imggen-util');
2525
describe('imggen-raw-reference-with-txt-img', () => {
26-
it('should return a GCS URI string', async function () {
26+
it('should return an array of generated image URIs', async function () {
2727
this.timeout(180000);
2828
this.retries(4);
2929
const output = await createOutputGcsUri();

0 commit comments

Comments
 (0)