From 21f947f2099cf70c556a7f33a0f5ed95d4fe24ac Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 1 Jul 2024 14:58:01 +0000 Subject: [PATCH] Add style transfer model --- schemas/fofr_style-transfer.json | 573 +++++++++++++++++++++++++++++++ supported_models.json | 1 + 2 files changed, 574 insertions(+) create mode 100644 schemas/fofr_style-transfer.json diff --git a/schemas/fofr_style-transfer.json b/schemas/fofr_style-transfer.json new file mode 100644 index 0000000..9a8b89d --- /dev/null +++ b/schemas/fofr_style-transfer.json @@ -0,0 +1,573 @@ +{ + "url": "https://replicate.com/fofr/style-transfer", + "owner": "fofr", + "name": "style-transfer", + "description": "Transfer the style of one image to another", + "visibility": "public", + "github_url": "https://github.com/fofr/cog-style-transfer", + "paper_url": null, + "license_url": "https://github.com/fofr/cog-style-transfer/blob/main/LICENSE", + "run_count": 0, + "cover_image_url": "https://replicate.delivery/pbxt/wmtBOf7pSlzHF6RBbeG5YpIXEYkRlGcoTpnOMi2Fqg9EUeWlA/ComfyUI_00001_.webp", + "default_example": { + "id": "k95qy9gahdrgp0cexq38bkrrsr", + "model": "fofr/style-transfer", + "version": "b85ce11e8afb98f6ee0a0237caf38345eb28be9ebb081aee66751716d5dbeca8", + "status": "succeeded", + "input": { + "width": 1024, + "height": 1024, + "prompt": "An astronaut riding a unicorn", + "style_image": "https://replicate.delivery/pbxt/KlTqluRakBzt7N5mm1WExEQCc4J3usa7E3n5dhttcayTqFRm/van-gogh.jpeg", + "negative_prompt": "", + "number_of_images": 1, + "optimise_output_images": true, + "optimise_output_images_quality": 80 + }, + "output": [ + "https://replicate.delivery/pbxt/wmtBOf7pSlzHF6RBbeG5YpIXEYkRlGcoTpnOMi2Fqg9EUeWlA/ComfyUI_00001_.webp" + ], + "logs": "Random seed set to: 246154933\nChecking inputs\n✅ /tmp/inputs/image.png\n====================================\nRunning workflow\ngot prompt\nExecuting node 2, title: Load Checkpoint, class type: CheckpointLoaderSimple\nmodel_type EPS\nadm 2816\nUsing pytorch attention in VAE\nWorking with z of shape (1, 4, 32, 32) = 4096 dimensions.\nUsing pytorch attention in VAE\nmissing {'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_l.logit_scale'}\nleft over keys: dict_keys(['conditioner.embedders.0.logit_scale', 'conditioner.embedders.0.text_projection'])\nloaded straight to GPU\nRequested to load SDXL\nLoading 1 new model\nExecuting node 1, title: IPAdapter Unified Loader, class type: IPAdapterUnifiedLoader\n\u001b[33mINFO: Clip Vision model loaded from /src/ComfyUI/models/clip_vision/CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors\u001b[0m\n\u001b[33mINFO: IPAdapter model loaded from /src/ComfyUI/models/ipadapter/ip-adapter-plus_sdxl_vit-h.safetensors\u001b[0m\nExecuting node 5, title: Load Image, class type: LoadImage\n\u001b[33mINFO: the IPAdapter reference image is not a square, CLIPImageProcessor will resize and crop it at the center. If the main focus of the picture is not in the middle the result might not be what you are expecting.\u001b[0m\nRequested to load CLIPVisionModelProjection\nLoading 1 new model\nExecuting node 4, title: IPAdapter, class type: IPAdapter\nExecuting node 6, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nRequested to load SDXLClipModel\nLoading 1 new model\nExecuting node 7, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nExecuting node 10, title: Empty Latent Image, class type: EmptyLatentImage\nExecuting node 3, title: KSampler, class type: KSampler\nRequested to load SDXL\nLoading 1 new model\nunload clone 2\n 0%| | 0/4 [00:00