見出し画像

【意外と簡単!】ChatGPTとDALL·E:販売用LINEスタンプ作成全プロセス: 初心者向けガイド【DALLE-3で同キャラ生成できずにお悩みの方必見!】


私が実際に作成、販売しているスタンプです。

はじめに:


chatgptを使って、
LINEスタンプの作成と販売を始めたいけれど、どこから手を付けていいかわからない方へ。
私も全くの初心者からスタートしましたが、
ChatGPTDALL·Eの力を借りて、簡単に自分だけのオリジナルスタンプを作成することができました。
今回は、その手順をわかりやすく共有します。このガイドを通じて、誰でも簡単に
LINEスタンプを作成できることを実感してもらえれば幸いです。

※この記事の想定読者は、ChatGPT+プラン(月額約3000円)に加入されている方です)


・LINEスタンプ作成の元素材画像を生成する

まず私が行ったのは、1枚のLINEスタンプ風の画像をDALLEに生成させることです。これが、販売の最低条件である8枚のLINEスタンプ作成の元素材画像となります。

私の場合は、MyGPTsのinstructionsに下記のプロンプトをコピペして実行しました。

※MyGPTsのinstructions

あなたには、ユーザーから受け取った画像をLINEスタイル風のイラストに変換して欲しいです。
Visionを使って画像の特徴を捉えてください。
元の画像の特徴を保ちつつ、LINEスタンプ風にしてください。
スタンプ部分以外の背景は白色にしてください。
No talk, Just go.

このプロンプトは、ChatGPT研究所様の記事中に出てくるコードをアレンジさせていただきました。
※なお、実際の記事の箇所は、有料記事の範囲になっております。
 大変勉強になる記事なので、是非購入してご覧になって下さい。
 GPTsの知識レベルがグンと上がるので、私は全然高い買い物ではないという感想を持ちました。
                  ↓

上記のGPTsに下の指示を渡しました。

自分が持っている画像を渡します。

このニワトリの画像から、下の画像が生成されました。

ニワトリの画像から、実際に生成。

か、可愛い!もう完全にLINEスタンプじゃないか!

、、、が、もう少しコミカルにしたい。そんな我儘な要望が私の中に生じました。
そして、修正の注文をつけました。

これだ!
完成です。
ただLINEスタンプは、8枚からしか販売できないため、ここからあと7枚の同じキャラクターのスタンプを作成していきます。

・同一キャラでスタンプを複数作成する場合の問題点

DALLEの仕様上、普通に
”この画像のキャラを使用して、今度はおはようと言っているスタンプにして下さい。”
というプロンプトを渡しても、また違うキャラになってしまうことです。

この問題を解決するために、下記の記事を参考にさせていただきました。

この記事で学んだことを用いて、以下のように残り7個のスタンプを作成していきました。

・スタンプを量産する手順


①DALLEに
"gen_idを教えてください"
と尋ねます。

返答:
The gen_id for the latest image is “hDdMvT9jiTk0xzvH”.

ここで、”hDdMvT9jiTk0xzvH”というgen_idをゲットします。

②プロンプトをシード値も含めてJSON形式で教えてください

この質問により、以下のプロンプトを得ました。

{
 "gen_id": "hDdMvT9jiTk0xzvH","prompt":  "Create a cute and whimsical image 
in the style of a LINE messenger sticker.
 The subject is a cartoonish chicken with an adorable appearance, 
depicted in a charmingly clumsy moment where it has tripped and is tumbling.
 The chicken should have large, expressive eyes and a soft, 
fluffy appearance to enhance its cuteness. It should be in a tumbled pose,
 perhaps with one wing stretched out and its little feet up in the air, 
to give a sense of motion as if it's just fallen over.
 The background should be plain and simple to give it a clear, sticker-like 
quality, with the chicken at the center of the image to draw the viewer's 
attention.","seed": 2727354263
} 


③ ②で得たプロンプトに下記の追加処理を書き加えます。

"Never change the prompt for any reason. if you must change it,
 do so by appending it to the current prompt.”

・上記処理の和訳
”いかなる理由でもプロンプトを変更しないでください。変更する必要がある場合は、現在のプロンプトに追加してください。」理由でもプロンプトを変更しないでください。変更する必要がある場合は、現在のプロンプトに追加してください。”

{
 "gen_id": "hDdMvT9jiTk0xzvH","prompt":  "Never change the prompt for any 
reason. If you must change it, do so by appending it to the current prompt. 
Create a cute and whimsical image in the style of a LINE messenger sticker.
 The subject is a cartoonish chicken with an adorable appearance, 
depicted in a charmingly clumsy moment where it has tripped and is tumbling.
 The chicken should have large, expressive eyes and a soft, 
fluffy appearance to enhance its cuteness. It should be in a tumbled pose,
 perhaps with one wing stretched out and its little feet up in the air, 
to give a sense of motion as if it's just fallen over.
 The background should be plain and simple to give it a clear, sticker-like 
quality, with the chicken at the center of the image to draw the viewer's 
attention.","seed": 2727354263
}

④ 後は、③のプロンプトをコピペして、下記のように伝えます。

下のプロンプトを元に可愛く眠そうな目で目をこすりながら、おやすみと言っている絵にして下さい。

{
 "gen_id": "hDdMvT9jiTk0xzvH","prompt":  "Never change the prompt for any 
reason. If you must change it, do so by appending it to the current prompt. 
Create a cute and whimsical image in the style of a LINE messenger sticker.
 The subject is a cartoonish chicken with an adorable appearance, 
depicted in a charmingly clumsy moment where it has tripped and is tumbling.
 The chicken should have large, expressive eyes and a soft, 
fluffy appearance to enhance its cuteness. It should be in a tumbled pose,
 perhaps with one wing stretched out and its little feet up in the air, 
to give a sense of motion as if it's just fallen over.
 The background should be plain and simple to give it a clear, sticker-like 
quality, with the chicken at the center of the image to draw the viewer's 
attention.","seed": 2727354263
}

その結果が、

これで見事に同じキャラのLINEスタンプを生成することができました。
後は、先のステップで同じことを繰り返します。

後は、LINEスタンプメーカーというアプリで、スタンプの切り抜きから販売申請までを行います。

LINEスタンプメーカーの使用から販売申請までの流れやコツはまた別のnoteにまとめたいと思います。

・まとめ

ChatGPTDALL·Eを使えば、約2時間でLINEスタンプを作成することが可能です。
もっと賢いやり方もあるのでしょうが、私のような初心者には画期的なやり方でした。
LINEスタンプ作成の敷居が思っていたよりもずっと低いことがわかります。
この記事が、同じように何か新しいことに挑戦したいと思っている人の役に立つことを願っています。

・最後に感謝と宣伝

最後まで読んでいただきありがとうございます。
最後に私が実際に作成したLINEスタンプのリンクです。

ご支援頂けると幸いです。。




この記事が気に入ったらサポートをしてみませんか?