{"id":2981,"date":"2025-12-09T01:51:06","date_gmt":"2025-12-08T17:51:06","guid":{"rendered":"https:\/\/www.tiptinker.com\/meituans-longcat-image-the-new-ai-model-redefining-image-generation-and-editing\/"},"modified":"2025-12-09T02:22:39","modified_gmt":"2025-12-08T18:22:39","slug":"meituans-longcat-image-the-new-ai-model-redefining-image-generation-and-editing","status":"publish","type":"post","link":"https:\/\/www.tiptinker.com\/ja\/meituans-longcat-image-the-new-ai-model-redefining-image-generation-and-editing\/","title":{"rendered":"\u7f8e\u56e3\u306e\u300cLongCat-Image\u300d\uff1aAI\u753b\u50cf\u751f\u6210\u3068\u7de8\u96c6\u3092\u518d\u5b9a\u7fa9\u3059\u308b\u65b0\u30e2\u30c7\u30eb\u304c\u767b\u5834"},"content":{"rendered":"<p>\u5927\u304d\u3059\u304e\u308b\u3001\u9045\u3059\u304e\u308b\u3001\u3042\u308b\u3044\u306f\u30c6\u30ad\u30b9\u30c8\u3001\u7279\u306b\u65e5\u672c\u8a9e\u306e\u3088\u3046\u306a\u975e\u82f1\u8a9e\u570f\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u6b63\u3057\u304f\u63cf\u753b\u3067\u304d\u306a\u3044AI\u30e2\u30c7\u30eb\u306b\u60a9\u3093\u3067\u3044\u307e\u305b\u3093\u304b\uff1f\u305d\u3093\u306a\u4e2d\u3001\u65b0\u305f\u306a\u6311\u6226\u8005\u304c\u73fe\u308c\u307e\u3057\u305f\u3002\u7f8e\u56e3\uff08Meituan\uff09\u304c\u958b\u767a\u3057\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eAI\u753b\u50cf\u751f\u6210\u30e2\u30c7\u30eb<strong>LongCat-Image<\/strong>\u3067\u3059\u3002\u3053\u306e\u30e2\u30c7\u30eb\u306f\u3001\u52b9\u7387\u3068\u54c1\u8cea\u3092\u518d\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u79c1\u305f\u3061TipTinker\u304c\u3001\u3053\u306e\u30e2\u30c7\u30eb\u304c\u958b\u767a\u8005\u3084\u30af\u30ea\u30a8\u30a4\u30bf\u30fc\u306b\u3068\u3063\u3066\u30b2\u30fc\u30e0\u30c1\u30a7\u30f3\u30b8\u30e3\u30fc\u3068\u306a\u308a\u5f97\u308b\u7406\u7531\u3092\u6df1\u6398\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>LongCat-Image\u306f\u5358\u306a\u308b\u30e2\u30c7\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002AI\u753b\u50cf\u751f\u6210\u306b\u304a\u3051\u308b\u6700\u5927\u306e\u969c\u5bb3\u306e\u3044\u304f\u3064\u304b\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u305f\u3001\u5305\u62ec\u7684\u306a\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306a\u306e\u3067\u3059\u3002\u306a\u305c\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u306e\u7406\u7531\u3092\u63a2\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>LongCat-Image\u306e\u7279\u5225\u306a\u70b9\u3068\u306f\uff1f<\/h2>\n<p>LongCat-Image\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u76f4\u9762\u3059\u308b\u4e00\u822c\u7684\u306a\u554f\u984c\u3092\u76f4\u63a5\u89e3\u6c7a\u3059\u308b\u3001\u3044\u304f\u3064\u304b\u306e\u5f37\u529b\u306a\u7279\u5fb4\u3067\u969b\u7acb\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u5353\u8d8a\u3057\u305f\u52b9\u7387\u6027<\/strong>\uff1a\u308f\u305a\u304b<strong>60\u5104\u30d1\u30e9\u30e1\u30fc\u30bf<\/strong>\u3067\u3042\u308a\u306a\u304c\u3089\u3001LongCat-Image\u306f\u305d\u306e\u6570\u500d\u306e\u898f\u6a21\u3092\u6301\u3064\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30e2\u30c7\u30eb\u3068\u7af6\u5408\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u54c1\u8cea\u3092\u72a0\u7272\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u3088\u308a\u4f4e\u3044\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u8981\u4ef6\u3068\u9ad8\u901f\u306a\u63a8\u8ad6\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u898b\u4e8b\u306a\u30d0\u30a4\u30ea\u30f3\u30ac\u30eb\u30c6\u30ad\u30b9\u30c8\u63cf\u753b<\/strong>\uff1a\u3053\u308c\u304c\u3053\u306e\u30e2\u30c7\u30eb\u306e\u771f\u4fa1\u3067\u3059\u3002\u591a\u304f\u306e\u30e2\u30c7\u30eb\u304c\u82e6\u624b\u3068\u3059\u308b\u8907\u96d1\u306a\u6f22\u5b57\uff08\u4e2d\u56fd\u8a9e\uff09\u306e\u63cf\u753b\u306b\u304a\u3044\u3066\u3001\u512a\u308c\u305f\u7cbe\u5ea6\u3068\u5b89\u5b9a\u6027\u3092\u767a\u63ee\u3057\u307e\u3059\u3002\u82f1\u8a9e\u306e\u30c6\u30ad\u30b9\u30c8\u63cf\u753b\u80fd\u529b\u3082\u540c\u69d8\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li><strong>\u6700\u5148\u7aef\u306e\u753b\u50cf\u7de8\u96c6\u80fd\u529b<\/strong>\uff1a\u7279\u5316\u3055\u308c\u305f<code>LongCat-Image-Edit<\/code>\u30e2\u30c7\u30eb\u306f\u3001\u9a5a\u304f\u3079\u304d\u7cbe\u5ea6\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u7de8\u96c6\u3055\u308c\u3066\u3044\u306a\u3044\u9818\u57df\u306e\u4e00\u8cab\u6027\u3092\u4fdd\u3061\u306a\u304c\u3089\u3001\u5c40\u6240\u7684\u307e\u305f\u306f\u5168\u4f53\u7684\u306a\u7de8\u96c6\u306b\u95a2\u3059\u308b\u8907\u96d1\u306a\u6307\u793a\u306b\u6b63\u78ba\u306b\u5f93\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u9a5a\u7570\u7684\u306a\u30d5\u30a9\u30c8\u30ea\u30a2\u30ea\u30ba\u30e0<\/strong>\uff1a\u9769\u65b0\u7684\u306a\u30c7\u30fc\u30bf\u6226\u7565\u306b\u3088\u308a\u3001LongCat-Image\u306f\u975e\u5e38\u306b\u30ea\u30a2\u30eb\u3067\u8a73\u7d30\u306a\u753b\u50cf\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u771f\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9<\/strong>\uff1a\u7f8e\u56e3\u306f\u6700\u7d42\u30e2\u30c7\u30eb\u3060\u3051\u3067\u306a\u304f\u3001\u4e2d\u9593\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u3084\u5b8c\u5168\u306a\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30b3\u30fc\u30c9\u3082\u516c\u958b\u3057\u3066\u304a\u308a\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u304c\u305d\u306e\u6210\u679c\u3092\u57fa\u306b\u3055\u3089\u306b\u958b\u767a\u3092\u9032\u3081\u308b\u3053\u3068\u3092\u53ef\u80fd\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>[Image: LongCat-Image\u306e\u80fd\u529b\u3092\u793a\u3059\u30ae\u30e3\u30e9\u30ea\u30fc\u3002\u30d5\u30a9\u30c8\u30ea\u30a2\u30eb\u306a\u30dd\u30fc\u30c8\u30ec\u30fc\u30c8\u3001\u8907\u96d1\u306a\u30b7\u30fc\u30f3\u3001\u305d\u3057\u3066\u5b8c\u74a7\u306a\u4e2d\u56fd\u8a9e\u30c6\u30ad\u30b9\u30c8\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u4f8b\u3092\u542b\u3080\u3002]<\/p>\n<h2>LongCat-Image\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u30ac\u30a4\u30c9<\/h2>\n<p>\u3054\u81ea\u8eab\u3067\u8a66\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f\u59cb\u3081\u308b\u306e\u306f\u7c21\u5358\u3067\u3059\u3002LongCat-Image\u30b9\u30a4\u30fc\u30c8\u306b\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u306e\u753b\u50cf\u751f\u6210\u7528\u3068\u7de8\u96c6\u7528\u306e2\u3064\u306e\u4e3b\u8981\u306a\u63a8\u8ad6\u30e2\u30c7\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d71\uff1a\u74b0\u5883\u8a2d\u5b9a<\/h3>\n<p>\u307e\u305a\u3001\u516c\u5f0f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3057\u3001\u5fc5\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\"># \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\r\ngit clone https:\/\/github.com\/meituan-longcat\/LongCat-Image\r\ncd LongCat-Image\r\n\r\n# conda\u74b0\u5883\u3092\u4f5c\u6210\u3057\u3001\u8981\u4ef6\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\nconda create -n longcat-image python=3.10\r\nconda activate longcat-image\r\npip install -r requirements.txt\r\npython setup.py develop\r\n<\/code><\/pre>\n<h3>\u30b9\u30c6\u30c3\u30d72\uff1a\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u306e\u753b\u50cf\u751f\u6210<\/h3>\n<p><code>LongCat-Image<\/code>\u30e2\u30c7\u30eb\u3092\u4f7f\u3063\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u7d20\u6674\u3089\u3057\u3044\u30d3\u30b8\u30e5\u30a2\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u3055\u3089\u306b\u6d17\u7df4\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u54c1\u8cea\u3092\u5411\u4e0a\u3055\u305b\u308b\u30d2\u30f3\u30c8\u306b\u3082\u6ce8\u76ee\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-python\">import torch\r\nfrom transformers import AutoProcessor\r\nfrom longcat_image.models import LongCatImageTransformer2DModel\r\nfrom longcat_image.pipelines import LongCatImagePipeline\r\n\r\ndevice = torch.device('cuda')\r\ncheckpoint_dir = '.\/weights\/LongCat-Image' # \u30e2\u30c7\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u5834\u6240\u3068\u4eee\u5b9a\r\n\r\ntext_processor = AutoProcessor.from_pretrained(checkpoint_dir, subfolder='tokenizer')\r\ntransformer = LongCatImageTransformer2DModel.from_pretrained(\r\n    checkpoint_dir,\r\n    subfolder='transformer',\r\n    torch_dtype=torch.bfloat16\r\n).to(device)\r\n\r\npipe = LongCatImagePipeline.from_pretrained(\r\n    checkpoint_dir,\r\n    transformer=transformer,\r\n    text_processor=text_processor\r\n)\r\n\r\n# VRAM\u304c\u9650\u3089\u308c\u3066\u3044\u308b\u5834\u5408\uff08\u7d0417GB\u5fc5\u8981\uff09\u3001CPU\u30aa\u30d5\u30ed\u30fc\u30c9\u3092\u4f7f\u7528\r\npipe.enable_model_cpu_offload()\r\n\r\nprompt = '\u30b5\u30a4\u30d0\u30fc\u30d1\u30f3\u30af\u30b9\u30bf\u30a4\u30eb\u306e\u5973\u6027\u6226\u58eb\u306e\u30dd\u30fc\u30c8\u30ec\u30fc\u30c8\u3001\u77b3\u306b\u6620\u308b\u30cd\u30aa\u30f3\u30e9\u30a4\u30c8\u3002'\r\n\r\nimage = pipe(\r\n    prompt,\r\n    height=1024,\r\n    width=1024,\r\n    guidance_scale=4.5,\r\n    num_inference_steps=50,\r\n    enable_prompt_rewrite=True # \u30c6\u30ad\u30b9\u30c8\u30a8\u30f3\u30b3\u30fc\u30c0\u30fc\u3067\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u6539\u5584\r\n).images[0]\r\n\r\nimage.save('.\/my_first_longcat_image.png')\r\n<\/code><\/pre>\n<h3>\u30b9\u30c6\u30c3\u30d73\uff1a\u9ad8\u7cbe\u5ea6\u306a\u753b\u50cf\u7de8\u96c6<\/h3>\n<p>\u65e2\u5b58\u306e\u753b\u50cf\u3092\u4fee\u6b63\u3059\u308b\u306b\u306f\u3001<code>LongCat-Image-Edit<\/code>\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8272\u3092\u5909\u3048\u305f\u308a\u3001\u732b\u3092\u72ac\u306b\u5909\u3048\u305f\u308a\u3068\u3044\u3063\u305f\u30bf\u30b9\u30af\u306b\u6700\u9069\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-python\">import torch\r\nfrom PIL import Image\r\nfrom longcat_image.pipelines import LongCatImageEditPipeline\r\n\r\n# \u7de8\u96c6\u30e2\u30c7\u30eb\u306e\u57fa\u672c\u8a2d\u5b9a\uff08device, transformer\u306a\u3069\uff09\u304c\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u3068\u4eee\u5b9a\r\n# checkpoint_dir \u306f '.\/weights\/LongCat-Image-Edit' \u306b\u306a\u308a\u307e\u3059\r\n\r\nedit_pipe = LongCatImageEditPipeline.from_pretrained(...)\r\nedit_pipe.enable_model_cpu_offload() # VRAM\u304c\u9650\u3089\u308c\u3066\u3044\u308b\u5834\u5408\uff08\u7d0419GB\u5fc5\u8981\uff09\u306b\u4f7f\u7528\r\n\r\ninit_image = Image.open('assets\/test.png').convert('RGB')\r\nprompt = '\u732b\u3092\u72ac\u306b\u5909\u3048\u308b'\r\n\r\nimage = edit_pipe(\r\n    init_image,\r\n    prompt,\r\n    guidance_scale=4.5,\r\n    num_inference_steps=50\r\n).images[0]\r\n\r\nimage.save('.\/edited_image.png')\r\n<\/code><\/pre>\n<h2>\ud83d\ude80 \u6700\u9ad8\u306e\u7d50\u679c\u3092\u5f97\u308b\u305f\u3081\u306e\u30d7\u30ed\u306e\u30d2\u30f3\u30c8<\/h2>\n<table>\n<thead>\n<tr>\n<th align=\"left\">\u30d2\u30f3\u30c8<\/th>\n<th align=\"left\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\"><strong>\u30c6\u30ad\u30b9\u30c8\u3092\u5f15\u7528\u7b26\u3067\u56f2\u3080<\/strong><\/td>\n<td align=\"left\"><strong>\u6700\u91cd\u8981<\/strong>\uff1a\u753b\u50cf\u5185\u306b\u30c6\u30ad\u30b9\u30c8\u3092\u63cf\u753b\u3059\u308b\u5834\u5408\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u5185\u3067\u5fc5\u305a\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff08<code>\"\"<\/code>\uff09\u3067\u30c6\u30ad\u30b9\u30c8\u3092\u56f2\u3093\u3067\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c8\u30fc\u30af\u30ca\u30a4\u30b6\u30fc\u304c\u6700\u826f\u306e\u7d50\u679c\u3092\u5f97\u308b\u305f\u3081\u306b\u6587\u5b57\u30ec\u30d9\u30eb\u306e\u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><strong>VRAM\u3092\u7ba1\u7406\u3059\u308b<\/strong><\/td>\n<td align=\"left\">\u30cf\u30a4\u30a8\u30f3\u30c9GPU\u304c\u306a\u3044\u5834\u5408\u306f\u3001<code>pipe.enable_model_cpu_offload()<\/code>\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u901f\u5ea6\u306f\u5c11\u3057\u843d\u3061\u307e\u3059\u304c\u3001\u30e1\u30e2\u30ea\u4e0d\u8db3\u30a8\u30e9\u30fc\u3092\u9632\u3052\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><strong>\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u6d17\u7df4\u3055\u305b\u308b<\/strong><\/td>\n<td align=\"left\">\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u753b\u50cf\u3092\u751f\u6210\u3059\u308b\u969b\u306f\u3001<code>enable_prompt_rewrite=True<\/code>\u3092\u7dad\u6301\u3057\u307e\u3057\u3087\u3046\u3002\u30e2\u30c7\u30eb\u304c\u5f37\u529b\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30f3\u30b3\u30fc\u30c0\u30fc\u3092\u4f7f\u3044\u3001\u751f\u6210\u524d\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u6539\u5584\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><strong>\u958b\u767a\u8005\u5411\u3051\u30e2\u30c7\u30eb\u3092\u6d3b\u7528<\/strong><\/td>\n<td align=\"left\">\u7814\u7a76\u8005\u306b\u3068\u3063\u3066\u3001<code>LongCat-Image-Dev<\/code>\u30e2\u30c7\u30eb\u306f\u30ab\u30b9\u30bf\u30e0\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u306e\u30d5\u30a1\u30a4\u30f3\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3092\u958b\u59cb\u3059\u308b\u306e\u306b\u7406\u60f3\u7684\u306a\u51fa\u767a\u70b9\u3067\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>LongCat-Image\u306f\u5358\u306a\u308bAI\u30e2\u30c7\u30eb\u3067\u306f\u306a\u304f\u3001\u4e00\u3064\u306e\u58f0\u660e\u3067\u3059\u3002\u7f8e\u56e3\u306f\u3001\u975e\u5e38\u306b\u52b9\u7387\u7684\u3067\u30d0\u30a4\u30ea\u30f3\u30ac\u30eb\u306b\u5bfe\u5fdc\u3057\u3001\u771f\u306b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u5353\u8d8a\u3057\u305f\u6027\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u4e16\u754c\u306eAI\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3092\u63d0\u4f9b\u3057\u307e\u3057\u305f\u3002\u7279\u306b\u4e2d\u56fd\u8a9e\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u6b63\u78ba\u306b\u63cf\u753b\u3059\u308b\u80fd\u529b\u306f\u3001\u65b0\u305f\u306a\u57fa\u6e96\u3092\u6253\u3061\u7acb\u3066\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u4eca\u65e5\u304b\u3089LongCat-Image\u3092\u3042\u306a\u305f\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u7d44\u307f\u8fbc\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u79c1\u305f\u3061TipTinker\u306f\u3001\u3053\u306e\u30e2\u30c7\u30eb\u304c\u65b0\u305f\u306a\u5275\u9020\u306e\u53ef\u80fd\u6027\u3092\u89e3\u304d\u653e\u3064\u3068\u4fe1\u3058\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\ud83d\udcda \u53c2\u8003\u8cc7\u6599\u3068\u30ea\u30bd\u30fc\u30b9<\/h3>\n<ul>\n<li><strong>\u516c\u5f0fGitHub\u30ea\u30dd\u30b8\u30c8\u30ea<\/strong>: <a href=\"https:\/\/github.com\/meituan-longcat\/LongCat-Image\">meituan-longcat\/LongCat-Image<\/a><\/li>\n<li><strong>\u30c6\u30ad\u30b9\u30c8-\u753b\u50cf\u751f\u6210\u30e2\u30c7\u30eb<\/strong>: <a href=\"https:\/\/huggingface.co\/meituan-longcat\/LongCat-Image\">Hugging Face &#8211; LongCat-Image<\/a><\/li>\n<li><strong>\u753b\u50cf\u7de8\u96c6\u30e2\u30c7\u30eb<\/strong>: <a href=\"https:\/\/huggingface.co\/meituan-longcat\/LongCat-Image-Edit\">Hugging Face &#8211; LongCat-Image-Edit<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u304d\u3059\u304e\u308b\u3001\u9045\u3059\u304e\u308b\u3001\u3042\u308b\u3044\u306f\u30c6\u30ad\u30b9\u30c8\u3001\u7279\u306b\u65e5\u672c\u8a9e\u306e\u3088\u3046\u306a\u975e\u82f1\u8a9e\u570f\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u6b63\u3057\u304f\u63cf\u753b\u3067\u304d\u306a\u3044AI\u30e2\u30c7\u30eb\u306b\u60a9\u3093\u3067\u3044\u307e\u305b\u3093\u304b\uff1f\u305d\u3093\u306a\u4e2d\u3001\u65b0\u305f\u306a\u6311\u6226\u8005\u304c\u73fe\u308c\u307e\u3057\u305f\u3002\u7f8e\u56e3\uff08Meituan\uff09\u304c\u958b\u767a\u3057\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eAI\u753b\u50cf\u751f\u6210\u30e2\u30c7\u30ebLongCat-Image\u3067\u3059\u3002\u3053\u306e\u30e2\u30c7\u30eb\u306f\u3001\u52b9\u7387\u3068\u54c1\u8cea\u3092\u518d\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u79c1\u305f\u3061TipTinker\u304c\u3001\u3053\u306e\u30e2\u30c7\u30eb\u304c\u958b\u767a\u8005\u3084\u30af\u30ea\u30a8\u30a4\u30bf\u30fc\u306b\u3068\u3063\u3066\u30b2\u30fc\u30e0\u30c1\u30a7\u30f3\u30b8\u30e3\u30fc\u3068\u306a\u308a\u5f97\u308b\u7406\u7531\u3092\u6df1\u6398\u308a\u3057\u307e\u3059\u3002 LongCat-Image\u306f\u5358\u306a\u308b\u30e2\u30c7\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002AI\u753b\u50cf\u751f\u6210\u306b\u304a\u3051\u308b\u6700\u5927\u306e\u969c\u5bb3\u306e\u3044\u304f\u3064\u304b\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u8a2d\u8a08\u3055\u308c\u305f\u3001\u5305\u62ec\u7684\u306a\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306a\u306e\u3067\u3059\u3002\u306a\u305c\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u306e\u7406\u7531\u3092\u63a2\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002 LongCat-Image\u306e\u7279\u5225\u306a\u70b9\u3068\u306f\uff1f LongCat-Image\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u76f4\u9762\u3059\u308b\u4e00\u822c\u7684\u306a\u554f\u984c\u3092\u76f4\u63a5\u89e3\u6c7a\u3059\u308b\u3001\u3044\u304f\u3064\u304b\u306e\u5f37\u529b\u306a\u7279\u5fb4\u3067\u969b\u7acb\u3063\u3066\u3044\u307e\u3059\u3002 \u5353\u8d8a\u3057\u305f\u52b9\u7387\u6027\uff1a\u308f\u305a\u304b60\u5104\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3042\u308a\u306a\u304c\u3089\u3001LongCat-Image\u306f\u305d\u306e\u6570\u500d\u306e\u898f\u6a21\u3092\u6301\u3064\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30e2\u30c7\u30eb\u3068\u7af6\u5408\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u54c1\u8cea\u3092\u72a0\u7272\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u3088\u308a\u4f4e\u3044\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u8981\u4ef6\u3068\u9ad8\u901f\u306a\u63a8\u8ad6\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002 \u898b\u4e8b\u306a\u30d0\u30a4\u30ea\u30f3\u30ac\u30eb\u30c6\u30ad\u30b9\u30c8\u63cf\u753b\uff1a\u3053\u308c\u304c\u3053\u306e\u30e2\u30c7\u30eb\u306e\u771f\u4fa1\u3067\u3059\u3002\u591a\u304f\u306e\u30e2\u30c7\u30eb\u304c\u82e6\u624b\u3068\u3059\u308b\u8907\u96d1\u306a\u6f22\u5b57\uff08\u4e2d\u56fd\u8a9e\uff09\u306e\u63cf\u753b\u306b\u304a\u3044\u3066\u3001\u512a\u308c\u305f\u7cbe\u5ea6\u3068\u5b89\u5b9a\u6027\u3092\u767a\u63ee\u3057\u307e\u3059\u3002\u82f1\u8a9e\u306e\u30c6\u30ad\u30b9\u30c8\u63cf\u753b\u80fd\u529b\u3082\u540c\u69d8\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u3002 \u6700\u5148\u7aef\u306e\u753b\u50cf\u7de8\u96c6\u80fd\u529b\uff1a\u7279\u5316\u3055\u308c\u305fLongCat-Image-Edit\u30e2\u30c7\u30eb\u306f\u3001\u9a5a\u304f\u3079\u304d\u7cbe\u5ea6\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u7de8\u96c6\u3055\u308c\u3066\u3044\u306a\u3044\u9818\u57df\u306e\u4e00\u8cab\u6027\u3092\u4fdd\u3061\u306a\u304c\u3089\u3001\u5c40\u6240\u7684\u307e\u305f\u306f\u5168\u4f53\u7684\u306a\u7de8\u96c6\u306b\u95a2\u3059\u308b\u8907\u96d1\u306a\u6307\u793a\u306b\u6b63\u78ba\u306b\u5f93\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u9a5a\u7570\u7684\u306a\u30d5\u30a9\u30c8\u30ea\u30a2\u30ea\u30ba\u30e0\uff1a\u9769\u65b0\u7684\u306a\u30c7\u30fc\u30bf\u6226\u7565\u306b\u3088\u308a\u3001LongCat-Image\u306f\u975e\u5e38\u306b\u30ea\u30a2\u30eb\u3067\u8a73\u7d30\u306a\u753b\u50cf\u3092\u751f\u6210\u3057\u307e\u3059\u3002 \u771f\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\uff1a\u7f8e\u56e3\u306f\u6700\u7d42\u30e2\u30c7\u30eb\u3060\u3051\u3067\u306a\u304f\u3001\u4e2d\u9593\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8\u3084\u5b8c\u5168\u306a\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30b3\u30fc\u30c9\u3082\u516c\u958b\u3057\u3066\u304a\u308a\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u304c\u305d\u306e\u6210\u679c\u3092\u57fa\u306b\u3055\u3089\u306b\u958b\u767a\u3092\u9032\u3081\u308b\u3053\u3068\u3092\u53ef\u80fd\u306b\u3057\u3066\u3044\u307e\u3059\u3002 [Image: LongCat-Image\u306e\u80fd\u529b\u3092\u793a\u3059\u30ae\u30e3\u30e9\u30ea\u30fc\u3002\u30d5\u30a9\u30c8\u30ea\u30a2\u30eb\u306a\u30dd\u30fc\u30c8\u30ec\u30fc\u30c8\u3001\u8907\u96d1\u306a\u30b7\u30fc\u30f3\u3001\u305d\u3057\u3066\u5b8c\u74a7\u306a\u4e2d\u56fd\u8a9e\u30c6\u30ad\u30b9\u30c8\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u4f8b\u3092\u542b\u3080\u3002] LongCat-Image\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u30ac\u30a4\u30c9 \u3054\u81ea\u8eab\u3067\u8a66\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f\u59cb\u3081\u308b\u306e\u306f\u7c21\u5358\u3067\u3059\u3002LongCat-Image\u30b9\u30a4\u30fc\u30c8\u306b\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u306e\u753b\u50cf\u751f\u6210\u7528\u3068\u7de8\u96c6\u7528\u306e2\u3064\u306e\u4e3b\u8981\u306a\u63a8\u8ad6\u30e2\u30c7\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002 \u30b9\u30c6\u30c3\u30d71\uff1a\u74b0\u5883\u8a2d\u5b9a \u307e\u305a\u3001\u516c\u5f0f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3057\u3001\u5fc5\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 # \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3 git clone https:\/\/github.com\/meituan-longcat\/LongCat-Image cd LongCat-Image # conda\u74b0\u5883\u3092\u4f5c\u6210\u3057\u3001\u8981\u4ef6\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb conda create -n longcat-image python=3.10 conda activate longcat-image pip install -r requirements.txt python setup.py develop \u30b9\u30c6\u30c3\u30d72\uff1a\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u306e\u753b\u50cf\u751f\u6210 LongCat-Image\u30e2\u30c7\u30eb\u3092\u4f7f\u3063\u3066\u3001\u30c6\u30ad\u30b9\u30c8\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u7d20\u6674\u3089\u3057\u3044\u30d3\u30b8\u30e5\u30a2\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u3055\u3089\u306b\u6d17\u7df4\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u54c1\u8cea\u3092\u5411\u4e0a\u3055\u305b\u308b\u30d2\u30f3\u30c8\u306b\u3082\u6ce8\u76ee\u3067\u3059\u3002 import torch from transformers import AutoProcessor from longcat_image.models import LongCatImageTransformer2DModel from longcat_image.pipelines import LongCatImagePipeline [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2979,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-2981","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/posts\/2981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/comments?post=2981"}],"version-history":[{"count":0,"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/posts\/2981\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/media\/2979"}],"wp:attachment":[{"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/media?parent=2981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/categories?post=2981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tiptinker.com\/ja\/wp-json\/wp\/v2\/tags?post=2981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}