-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- "typescript": "~5.8.3",
- WSL
- Package version: "@google/genai": "^1.16.0"
Steps to reproduce
const apiConfig = {
model: "imagen-4.0-ultra-generate-001",
prompt: enhancedPrompt,
config: {
numberOfImages: numberOfImages,
aspectRatio: aspectRatio,
sampleImageSize: sampleImageSize,
},
};
const response = await this.genAI.models.generateImages(apiConfig);
All config params are working expect sampleImageSize, when settings it on 2K it still used the 1K default.
Any ideas?
Cheers.
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.