Replicate.com: Methexis IncのImg2Promptツールを使用して、スタイルに合った画像に近いテキストプロンプトを生成します。 安定した拡散(clip ViT-L/14に最適化)に最適化されています。

Methexis-Inc Img2prompt APIをReplicateで使用します

紹介

methexis-inc/img2promptとは何ですか?

methexis-inc/img2promptは、画像に一致するスタイルを持つおおよそのテキストプロンプトを生成するモデルです。このモデルは、安定した拡散(clip ViT-L/14)に最適化されています。

methexis-inc/img2promptの使用方法

methexis-inc/img2promptは、Node.js、Python、Elixir、HTTP、Cog、Dockerなどさまざまな方法で使用できます。以下は、モデルの使用方法の例です:

Node.js

const replicate = new Replicate({
  auth: process.env.REPLICATE_API_TOKEN,
});

const output = await replicate.run(
  "methexis-inc/img2prompt:50adaf2d3ad20a6f911a8a9e3ccf777b263b8596fbd2c8fc26e8888f8a0edbb5",
  {
    input: {
      image: "https://replicate.delivery/mgxm/8b4d747d-feca-477d-8069-ee4d5f89ad8e/a_high_detail_shot_of_a_cat_wearing_a_suit_realism_8k_-n_9_.png"
    }
  }
);
console.log(output);

Python

import replicate

output = replicate.run(
    "methexis-inc/img2prompt:50adaf2d3ad20a6f911a8a9e3ccf777b263b8596fbd2c8fc26e8888f8a0edbb5",
    input={
        "image": "https://replicate.delivery/mgxm/8b4d747d-feca-477d-8069-ee4d5f89ad8e/a_high_detail_shot_of_a_cat_wearing_a_suit_realism_8k_-n_9_.png"
    }
)
print(output)

Elixir

output = Replicate.run(
  "methexis-inc/img2prompt:50adaf2d3ad20a6f911a8a9e3ccf777b263b8596fbd2c8fc26e8888f8a0edbb5",
  %{
    image: "https://replicate.delivery/mgxm/8b4d747d-feca-477d-8069-ee4d5f89ad8e/a_high_detail_shot_of_a_cat_wearing_a_suit_realism_8k_-n_9_.png"
  }
)
IO.inspect(output)

HTTP

curl -s -X POST \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d $'{
    "version": "50adaf2d3ad20a6f911a8a9e3ccf777b263b8596fbd2c8fc26e8888f8a0edbb5",
    "input": {
      "image": "https://replicate.delivery/mgxm/8b4d747d-feca-477d-8069-ee4d5f89ad8e/a_high_detail_shot_of_a_cat_wearing_a_suit_realism_8k_-n_9_.png"
    }
  }' \
  https://api.replicate.com/v1/predictions

Cog

cog predict r8.im/methexis-inc/img2prompt@sha256:50adaf2d3ad20a6f911a8a9e3ccf777b263b8596fbd2c8fc26e8888f8a0edbb5 \
  -i 'image="https://replicate.delivery/mgxm/8b4d747d-feca-477d-8069-ee4d5f89ad8e/a_high_detail_shot_of_a_cat_wearing_a_suit_realism_8k_-n_9_.png"'

Docker

docker run -d -p 5000:5000 --gpus=all r8.im/methexis-inc/img2prompt@sha256:50adaf2d3ad20a6f911a8a9e3ccf777b263b8596fbd2c8fc26e8888f8a0edbb5
curl -s -X POST \
  -H "Content-Type: application/json" \
  -d $'{
    "input": {
      "image": "https://replicate.delivery/mgxm/8b4d747d-feca-477d-8069-ee4d5f89ad8e/a_high_detail_shot_of_a_cat_wearing_a_suit_realism_8k_-n_9_.png"
    }
  }' \
  http://localhost:5000/predictions

methexis-inc/img2promptの機能

このモデルは、画像/絵画の類似した外観のバージョンを再現するために安定した拡散で使用できるおおよそのテキストプロンプトを提供します。これは、@pharmapsychoticによるCLIPインターロゲーターノートブックのわずかに適応されたバージョンです。

methexis-inc/img2promptの価格設定

methexis-inc/img2promptの価格設定は明記されていません。ただし、このモデルはNvidia T4 GPUハードウェア上で実行され、通常51秒以内に予測が完了します。このモデルの予測時間は、入力に基づいて大幅に異なります。

Methexis-Inc - 代替

スタンニングなアニメーションアバター&キャラクターメーカー| ImagetoCartoon

Imagetocartoon.com: 当サイトの高度な2Dおよび3Dカートゥーンキャラクタークリエイターを使用して、画像を驚くほどのカートゥーンアバターに変換します。自分の創造力を爆発させ、アイデアを現実にしましょう!

--
AIイメージジェネレーター - ImgCreator.AIで驚くほどのAIデザインを作成する

Imgcreator.ai: ImgCreator.AIを使用して驚くほどのAI生成画像を作成します。当社のAI画像生成ツールには、AIデザイナー、AIモデル、AIポートレートジェネレーターなど、さまざまなツールが用意されています。魔法の背景を生成し、テキストを画像に変換し、Deepgramテクノロジーを探索します。ジェネレーティブアートと将来のツールの力を解放し、カスタムAIアート、イラスト、コンセプトアートを作成します。画像参照係数、フリーフォームデザイン、さまざまなキャンバスサイズ、出力解像度などの機能で画像をカスタマイズします。背景を変更し、画像を生成的に塗りつぶし、簡単にウォーターマークを削除します。

--
AIアバタージェネレーター | あなたの写真からAI画像を作成

Imgcreator.zmo.ai:最先端のAI技術を使用して魅力的な魔法のアバターを作成しましょう!アカウントが必要なく、さまざまなスタイルの200を超える独特のデザインを探索できます。

--
人や製品向けのAIパワード写真スタジオ - ZMO.AI

Imgcreator.zmo.ai:Zmo AI Image Creatorエディタを使用して、背景を簡単に削除または変更し、写真を魔法のように編集することができます。

--
関連タグ: Methexis-Inc Img2prompt APIをReplicateで使用します