fix: tsc errors

This commit is contained in:
Marvin von Rappard 2025-07-31 15:26:01 +00:00
parent d628a9c3e5
commit ed42990225

View File

@ -136,7 +136,7 @@ export async function execute(this: IExecuteFunctions, i: number): Promise<INode
} else if (model.includes('imagen')) {
// Imagen models use a different endpoint and request/response structure
const sampleCount = this.getNodeParameter('options.sampleCount', i, 1) as number;
const aspectRatio: string = this.getNodeParameter('options.aspectRatio', i, '1:1');
const aspectRatio = this.getNodeParameter('options.aspectRatio', i, '1:1') as string;
const body = {
instances: [
{