Skip to content
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

Titan Image Generator v2の新機能対応 #603

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

okamoto-aws
Copy link
Collaborator

Issue #, if available:

Description of changes:

  • 画像コンディショニング
  • カラーパレットによる画像ガイダンス(UIについてWIP)
  • 背景削除

に対応

詳細: https://aws.amazon.com/jp/blogs/news/amazon-titan-image-generator-v2-is-now-available-in-amazon-bedrock/

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -103,7 +103,7 @@ ${formValues[idx]}
<div key={idx}>
<div className="text-xs">{def.label}</div>
<TextareaChatContent
value={def.autoCopy ? content : formValues[idx] ?? ''}
value={def.autoCopy ? content : (formValues[idx] ?? '')}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここ lint で修正されます。

taskType?:
| BaseGenerationMode
| 'COLOR_GUIDED_GENERATION'
| 'BACKGROUND_REMOVAL';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同じ定義が2回出現していますが、type として定義しても良いのではないでしょうか?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TitanImageV2GenerationMode(フロントエンドでTIGv2用に使っている方)には画面の表示わけ用にIMAGE_CONDITIONINGが入っていて、GenerateImageParams(バックエンドで使ってる方)にはIMAGE_CONDITIONINGがない(API的にはTEXT_IMAGEで受けている)んですよね。。。

@okamoto-aws okamoto-aws changed the title [WIP]Titan Image Generator v2の新機能対応 Titan Image Generator v2の新機能対応 Aug 16, 2024
@tsukumonasu
Copy link

@okamoto-aws
直接、セルフで自環境にマージして使わせていただきましたが、
背景が透明なPNGファイルや同じ構図で別のテイストにして生成するのは面白かったです。
皆さんも早く使えるようになるとよいと思います。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants