Skip to content

Commit 718c7e2

Browse files
committed
fix links
1 parent ade589d commit 718c7e2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs-devsite/vertexai.imagengenerationconfig.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ export interface ImagenGenerationConfig
2727

2828
| Property | Type | Description |
2929
| --- | --- | --- |
30-
| [addWatermark](./vertexai.imagengenerationconfig.md#imagengenerationconfigaddwatermark) | boolean | <b><i>(Public Preview)</i></b> Whether to add an invisible watermark to generated images.<!-- -->If set to <code>true</code>, an invisible SynthID watermark is embedded in generated images to indicate that they are AI generated. If set to <code>false</code>, watermarking will be disabled.<!-- -->The default value depends on the Imagen model; see the [addWatermark](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list) documentation for more details. |
30+
| [addWatermark](./vertexai.imagengenerationconfig.md#imagengenerationconfigaddwatermark) | boolean | <b><i>(Public Preview)</i></b> Whether to add an invisible watermark to generated images.<!-- -->If set to <code>true</code>, an invisible SynthID watermark is embedded in generated images to indicate that they are AI generated. If set to <code>false</code>, watermarking will be disabled.<!-- -->The default value depends on the Imagen model; see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list"><code>addWatermark</code></a> documentation for more details. |
3131
| [aspectRatio](./vertexai.imagengenerationconfig.md#imagengenerationconfigaspectratio) | [ImagenAspectRatio](./vertexai.md#imagenaspectratio) | <b><i>(Public Preview)</i></b> The aspect ratio of the generated images. The default value is square 1:1. Supported aspect ratios depend on the Imagen model, see <code>[ImagenAspectRatio](./vertexai.md#imagenaspectratio)</code> for more details. |
3232
| [imageFormat](./vertexai.imagengenerationconfig.md#imagengenerationconfigimageformat) | [ImagenImageFormat](./vertexai.imagenimageformat.md#imagenimageformat_class) | <b><i>(Public Preview)</i></b> The image format of the generated images. The default is PNG.<!-- -->See <code>[ImagenImageFormat](./vertexai.imagenimageformat.md#imagenimageformat_class)</code> for more details. |
3333
| [negativePrompt](./vertexai.imagengenerationconfig.md#imagengenerationconfignegativeprompt) | string | <b><i>(Public Preview)</i></b> A description of what should be omitted from the generated images.<!-- -->Support for negative prompts depends on the Imagen model.<!-- -->See the [Cloud documentation](https://cloud.google.com/vertex-ai/generative-ai/docs/image/generate-images#negative-prompt) for more details. |
34-
| [numberOfImages](./vertexai.imagengenerationconfig.md#imagengenerationconfignumberofimages) | number | <b><i>(Public Preview)</i></b> The number of images to generate. The default value is 1.<!-- -->The number of sample images that may be generated in each request depends on the model (typically up to 4); see the [sampleCount](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list) documentation for more details. |
34+
| [numberOfImages](./vertexai.imagengenerationconfig.md#imagengenerationconfignumberofimages) | number | <b><i>(Public Preview)</i></b> The number of images to generate. The default value is 1.<!-- -->The number of sample images that may be generated in each request depends on the model (typically up to 4); see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list"><code>sampleCount</code></a> documentation for more details. |
3535

3636
## ImagenGenerationConfig.addWatermark
3737

@@ -42,7 +42,7 @@ Whether to add an invisible watermark to generated images.
4242

4343
If set to `true`<!-- -->, an invisible SynthID watermark is embedded in generated images to indicate that they are AI generated. If set to `false`<!-- -->, watermarking will be disabled.
4444

45-
The default value depends on the Imagen model; see the [addWatermark](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list) documentation for more details.
45+
The default value depends on the Imagen model; see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list"><code>addWatermark</code></a> documentation for more details.
4646

4747
<b>Signature:</b>
4848

@@ -102,7 +102,7 @@ negativePrompt?: string;
102102

103103
The number of images to generate. The default value is 1.
104104

105-
The number of sample images that may be generated in each request depends on the model (typically up to 4); see the [sampleCount](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list) documentation for more details.
105+
The number of sample images that may be generated in each request depends on the model (typically up to 4); see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list"><code>sampleCount</code></a> documentation for more details.
106106

107107
<b>Signature:</b>
108108

packages/vertexai/src/types/imagen/requests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface ImagenGenerationConfig {
6464
* The number of images to generate. The default value is 1.
6565
*
6666
* The number of sample images that may be generated in each request depends on the model
67-
* (typically up to 4); see the {@link https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list | sampleCount}
67+
* (typically up to 4); see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list"><code>sampleCount</code></a>
6868
* documentation for more details.
6969
*/
7070
numberOfImages?: number;
@@ -86,7 +86,7 @@ export interface ImagenGenerationConfig {
8686
* If set to `true`, an invisible SynthID watermark is embedded in generated images to indicate
8787
* that they are AI generated. If set to `false`, watermarking will be disabled.
8888
*
89-
* The default value depends on the Imagen model; see the {@link https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list | addWatermark }
89+
* The default value depends on the Imagen model; see the <a href="https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api#parameter_list"><code>addWatermark</code></a>
9090
* documentation for more details.
9191
*/
9292
addWatermark?: boolean;

0 commit comments

Comments
 (0)