Generates in the style of a Funko Pop
Prompt for generated image. If you include the `trigger_word` used in the training process you are more likely to activate the trained object, style, or concept in the resulting image.
Input image for image to image or inpainting mode. If provided, aspect_ratio, width, and height inputs are ignored.
Image mask for image inpainting mode. If provided, aspect_ratio, width, and height inputs are ignored.
Aspect ratio for the generated image. If custom is selected, uses height and width below & will run in bf16 mode
Default: "1:1"
Height of generated image. Only works if `aspect_ratio` is set to custom. Will be rounded to nearest multiple of 16. Incompatible with fast generation
Width of generated image. Only works if `aspect_ratio` is set to custom. Will be rounded to nearest multiple of 16. Incompatible with fast generation
Prompt strength when using img2img. 1.0 corresponds to full destruction of information in image
Default: 0.8
Which model to run inference with. The dev model performs best with around 28 inference steps but the schnell model only needs 4 steps.
Default: "dev"
Number of outputs to generate
Default: 1
Number of denoising steps. More steps can give more detailed images, but take longer.
Default: 28
Guidance scale for the diffusion process. Lower values can give more realistic images. Good values to try are 2, 2.5, 3 and 3.5
Default: 3
Random seed. Set for reproducible generation
Format of the output images
Default: "webp"
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
Default: 80
This model’s safety checker can’t be disabled when running on the website. Learn more about platform safety on Replicate.
Disable safety checker for generated images.
Default: false
Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16
Approximate number of megapixels for generated image
Default: "1"
Determines how strongly the main LoRA should be applied. Sane results between 0 and 1 for base inference. For go_fast we apply a 1.5x multiplier to this value; we've generally seen good performance when scaling the base value by that amount. You may still need to experiment to find the best value for your particular lora.
Load LoRA weights. Supports Replicate models in the format <owner>/<username> or <owner>/<username>/<version>, HuggingFace URLs in the format huggingface.co/<owner>/<model-name>, CivitAI URLs in the format civitai.com/models/<id>[/<model-name>], or arbitrary .safetensors URLs from the Internet. For example, 'fofr/flux-pixar-cars'
Determines how strongly the extra LoRA should be applied. Sane results between 0 and 1 for base inference. For go_fast we apply a 1.5x multiplier to this value; we've generally seen good performance when scaling the base value by that amount. You may still need to experiment to find the best value for your particular lora.
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run authbyte/flux-funko-pop using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "authbyte/flux-funko-pop:5bf170ccf18c3fb0ae11b4232c8f45a793ba2c4b6f19f825b9cb336bbb652655", { input: { model: "dev", prompt: "FUNKO of a woman dressed in a suit", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
import replicate
output = replicate.run( "authbyte/flux-funko-pop:5bf170ccf18c3fb0ae11b4232c8f45a793ba2c4b6f19f825b9cb336bbb652655", input={ "model": "dev", "prompt": "FUNKO of a woman dressed in a suit", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "authbyte/flux-funko-pop:5bf170ccf18c3fb0ae11b4232c8f45a793ba2c4b6f19f825b9cb336bbb652655", "input": { "model": "dev", "prompt": "FUNKO of a woman dressed in a suit", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{ "completed_at": "2024-12-29T00:39:07.834838Z", "created_at": "2024-12-29T00:39:01.255000Z", "data_removed": false, "error": null, "id": "mc48ps91gxrmc0cm1zd8emd9jr", "input": { "model": "dev", "prompt": "FUNKO of a woman dressed in a suit", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-29 00:39:01.421 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-29 00:39:01.422 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 283/304 [00:00<00:00, 2827.72it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2742.25it/s]\n2024-12-29 00:39:01.533 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\n2024-12-29 00:39:01.534 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/a0dc7bb4c4fc7909\n2024-12-29 00:39:01.655 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-29 00:39:01.655 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-29 00:39:01.655 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 284/304 [00:00<00:00, 2827.46it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2745.28it/s]\n2024-12-29 00:39:01.766 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s\nUsing seed: 19160\n0it [00:00, ?it/s]\n1it [00:00, 8.37it/s]\n2it [00:00, 5.86it/s]\n3it [00:00, 5.34it/s]\n4it [00:00, 5.13it/s]\n5it [00:00, 5.01it/s]\n6it [00:01, 4.92it/s]\n7it [00:01, 4.88it/s]\n8it [00:01, 4.87it/s]\n9it [00:01, 4.87it/s]\n10it [00:01, 4.85it/s]\n11it [00:02, 4.84it/s]\n12it [00:02, 4.84it/s]\n13it [00:02, 4.83it/s]\n14it [00:02, 4.83it/s]\n15it [00:03, 4.83it/s]\n16it [00:03, 4.82it/s]\n17it [00:03, 4.81it/s]\n18it [00:03, 4.81it/s]\n19it [00:03, 4.81it/s]\n20it [00:04, 4.81it/s]\n21it [00:04, 4.81it/s]\n22it [00:04, 4.81it/s]\n23it [00:04, 4.81it/s]\n24it [00:04, 4.81it/s]\n25it [00:05, 4.81it/s]\n26it [00:05, 4.82it/s]\n27it [00:05, 4.81it/s]\n28it [00:05, 4.81it/s]\n28it [00:05, 4.89it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 6.412236085, "total_time": 6.579838 }, "output": [ "https://replicate.delivery/xezq/oQs4dSpfhu3GH6xw7tq3DDfqTMzJQe8tZrNdUJTtzibWhJfPB/out-0.webp" ], "started_at": "2024-12-29T00:39:01.422602Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-c2lkx7spiypyqhcuiqoyoutonbwdij6lc7ixvf7xasjizqylqzxa", "get": "https://api.replicate.com/v1/predictions/mc48ps91gxrmc0cm1zd8emd9jr", "cancel": "https://api.replicate.com/v1/predictions/mc48ps91gxrmc0cm1zd8emd9jr/cancel" }, "version": "5bf170ccf18c3fb0ae11b4232c8f45a793ba2c4b6f19f825b9cb336bbb652655" }
2024-12-29 00:39:01.421 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-29 00:39:01.422 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 283/304 [00:00<00:00, 2827.72it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2742.25it/s] 2024-12-29 00:39:01.533 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s 2024-12-29 00:39:01.534 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/a0dc7bb4c4fc7909 2024-12-29 00:39:01.655 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-29 00:39:01.655 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-29 00:39:01.655 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 284/304 [00:00<00:00, 2827.46it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2745.28it/s] 2024-12-29 00:39:01.766 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s Using seed: 19160 0it [00:00, ?it/s] 1it [00:00, 8.37it/s] 2it [00:00, 5.86it/s] 3it [00:00, 5.34it/s] 4it [00:00, 5.13it/s] 5it [00:00, 5.01it/s] 6it [00:01, 4.92it/s] 7it [00:01, 4.88it/s] 8it [00:01, 4.87it/s] 9it [00:01, 4.87it/s] 10it [00:01, 4.85it/s] 11it [00:02, 4.84it/s] 12it [00:02, 4.84it/s] 13it [00:02, 4.83it/s] 14it [00:02, 4.83it/s] 15it [00:03, 4.83it/s] 16it [00:03, 4.82it/s] 17it [00:03, 4.81it/s] 18it [00:03, 4.81it/s] 19it [00:03, 4.81it/s] 20it [00:04, 4.81it/s] 21it [00:04, 4.81it/s] 22it [00:04, 4.81it/s] 23it [00:04, 4.81it/s] 24it [00:04, 4.81it/s] 25it [00:05, 4.81it/s] 26it [00:05, 4.82it/s] 27it [00:05, 4.81it/s] 28it [00:05, 4.81it/s] 28it [00:05, 4.89it/s] Total safe images: 1 out of 1
View more examples
This model runs on Nvidia H100 GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
This model is warm. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Choose a file from your machine
Hint: you can also drag files onto the input