-
Notifications
You must be signed in to change notification settings - Fork 0
Bulk image generation #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…gin to manage AI response state and output image fields
…te plugin options
…components to improve field processing and state management
… handling in components
… in carousel component
…eneration logic to include fieldName
custom/visionAction.vue
Outdated
| setSelected(); | ||
| analyzeFields(); | ||
| for (let i = 0; i < selected.value?.length; i++) { | ||
| openGenerationCarousel.value[i] = props.meta.outputImageFields?.reduce((acc,key) =>{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yaroslav8765 something with outdent here
| acc[key] = false; | ||
| return acc; | ||
| },{[primaryKey]: records.value[i][primaryKey]} as Record<string, boolean>); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yaroslav8765 same here, hardread
index.ts
Outdated
| if (STUB_MODE) { | ||
| await new Promise((resolve) => setTimeout(resolve, 2000)); | ||
| //images = `https://picsum.photos/200/300?random=${Math.floor(Math.random() * 1000)}`; | ||
| images = "https://cdn.rafled.com/anime-icons/images/6d5f85159da70f7cb29c1121248031fb4a649588a9cd71ff1784653a1f64be31.jpg"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yaroslav8765 probably we should nto leave it in codebase?
| // can generate from images or just from another fields, e.g. "remove text from images", "improve image quality", "turn image into ghibli style" | ||
| prompt: string, | ||
|
|
||
| adapter?: ImageGenerationAdapter, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yaroslav8765 lets add comment here which mentions that this option is used to redefine adapter defined in imageGenerationAdapter for cases when you need to use different adapters for different fields
|
@yaroslav8765 also please resolve conflicts |
…ion URL in index.ts; enhance documentation in types.ts
ivictbor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes
…h-bulk-ai-flow into bulk-image-generation
No description provided.