justmalhar
/
flux-mobile-ui
Generate detailed mobile app user interfaces (UIs) using prefix “MOBIUI containing..” in 4-15 steps.
- Public
- 610 runs
-
H100
Prediction
justmalhar/flux-mobile-ui:1bf33620IDmcrhhsgg8drm40chgr0bkkdhrwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- num_inference_steps
- 4
{ "model": "schnell", "prompt": "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", { input: { model: "schnell", prompt: "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", lora_scale: 1, num_outputs: 4, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, num_inference_steps: 4 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", input={ "model": "schnell", "prompt": "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", "input": { "model": "schnell", "prompt": "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-24T20:07:53.966757Z", "created_at": "2024-08-24T20:07:16.803000Z", "data_removed": false, "error": null, "id": "mcrhhsgg8drm40chgr0bkkdhrw", "input": { "model": "schnell", "prompt": "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 }, "logs": "Using seed: 33151\nPrompt: MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface\ntxt2img mode\nUsing schnell model\nLoaded LoRAs in 9.51s\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.09it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.24it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.16it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.13it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.14it/s]", "metrics": { "predict_time": 14.321665237, "total_time": 37.163757 }, "output": [ "https://replicate.delivery/yhqm/d1XhJBGfyCUKfEJPGQQWGOawymzHE4DzF0LuKWbVErpZe9rmA/out-0.jpg", "https://replicate.delivery/yhqm/puPGYBS2IO70Nh9Skw8wm2KeLLVSm9RpfEto68ce8Fwy89rmA/out-1.jpg", "https://replicate.delivery/yhqm/fl1u0Qp5Ca0gESOWbfWR0Ucm8DX4AVTKOPPL0xq072fy89rmA/out-2.jpg", "https://replicate.delivery/yhqm/398IGzF1LjImHVfuM1vLe1EYPjzOXkxIQfYTUQSvLvyy89rmA/out-3.jpg" ], "started_at": "2024-08-24T20:07:39.645091Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mcrhhsgg8drm40chgr0bkkdhrw", "cancel": "https://api.replicate.com/v1/predictions/mcrhhsgg8drm40chgr0bkkdhrw/cancel" }, "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf" }
Generated inUsing seed: 33151 Prompt: MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface txt2img mode Using schnell model Loaded LoRAs in 9.51s 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.09it/s] 50%|█████ | 2/4 [00:01<00:01, 1.24it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.16it/s] 100%|██████████| 4/4 [00:03<00:00, 1.13it/s] 100%|██████████| 4/4 [00:03<00:00, 1.14it/s]
Prediction
justmalhar/flux-mobile-ui:1bf33620ID0nvwexb3jhrm00chgr0s9qan0rStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- num_inference_steps
- 25
{ "model": "dev", "prompt": "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", { input: { model: "dev", prompt: "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", lora_scale: 1, num_outputs: 4, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, num_inference_steps: 25 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", input={ "model": "dev", "prompt": "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", "input": { "model": "dev", "prompt": "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-24T20:09:30.744205Z", "created_at": "2024-08-24T20:08:43.668000Z", "data_removed": false, "error": null, "id": "0nvwexb3jhrm00chgr0s9qan0r", "input": { "model": "dev", "prompt": "MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 }, "logs": "Using seed: 26255\nPrompt: MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.86s\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:23, 1.02it/s]\n 8%|▊ | 2/25 [00:01<00:19, 1.16it/s]\n 12%|█▏ | 3/25 [00:02<00:20, 1.09it/s]\n 16%|█▌ | 4/25 [00:03<00:19, 1.06it/s]\n 20%|██ | 5/25 [00:04<00:19, 1.05it/s]\n 24%|██▍ | 6/25 [00:05<00:18, 1.04it/s]\n 28%|██▊ | 7/25 [00:06<00:17, 1.03it/s]\n 32%|███▏ | 8/25 [00:07<00:16, 1.02it/s]\n 36%|███▌ | 9/25 [00:08<00:15, 1.02it/s]\n 40%|████ | 10/25 [00:09<00:14, 1.02it/s]\n 44%|████▍ | 11/25 [00:10<00:13, 1.02it/s]\n 48%|████▊ | 12/25 [00:11<00:12, 1.02it/s]\n 52%|█████▏ | 13/25 [00:12<00:11, 1.02it/s]\n 56%|█████▌ | 14/25 [00:13<00:10, 1.02it/s]\n 60%|██████ | 15/25 [00:14<00:09, 1.01it/s]\n 64%|██████▍ | 16/25 [00:15<00:08, 1.01it/s]\n 68%|██████▊ | 17/25 [00:16<00:07, 1.01it/s]\n 72%|███████▏ | 18/25 [00:17<00:06, 1.01it/s]\n 76%|███████▌ | 19/25 [00:18<00:05, 1.01it/s]\n 80%|████████ | 20/25 [00:19<00:04, 1.01it/s]\n 84%|████████▍ | 21/25 [00:20<00:03, 1.01it/s]\n 88%|████████▊ | 22/25 [00:21<00:02, 1.01it/s]\n 92%|█████████▏| 23/25 [00:22<00:01, 1.01it/s]\n 96%|█████████▌| 24/25 [00:23<00:00, 1.01it/s]\n100%|██████████| 25/25 [00:24<00:00, 1.01it/s]\n100%|██████████| 25/25 [00:24<00:00, 1.02it/s]", "metrics": { "predict_time": 33.627064112, "total_time": 47.076205 }, "output": [ "https://replicate.delivery/yhqm/5e0cZcQhqFyTYKWq7PFMNwz34tko8OcHw43LOw20F9C9fermA/out-0.jpg", "https://replicate.delivery/yhqm/PtHIVZWgSYqZCZDsSZeOJKD6GmMWB5xZ8W097N9TSNW9fermA/out-1.jpg", "https://replicate.delivery/yhqm/83ZroyP6huI6NZSwjCgp6oVakfROQgsLeUK9jMzXKSq6f9rmA/out-2.jpg", "https://replicate.delivery/yhqm/yfOYCMusci0iQSklM74OXz0BgnH5hGJ3kdi8pdXQW5R9fermA/out-3.jpg" ], "started_at": "2024-08-24T20:08:57.117141Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/0nvwexb3jhrm00chgr0s9qan0r", "cancel": "https://api.replicate.com/v1/predictions/0nvwexb3jhrm00chgr0s9qan0r/cancel" }, "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf" }
Generated inUsing seed: 26255 Prompt: MOBIUI containing a ai music generation app with music player , playlist, card ui, apple ui, ios, app ui, mobile application UI, user interface design, website ui design, ios application ui, user interface txt2img mode Using dev model Loaded LoRAs in 7.86s 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:23, 1.02it/s] 8%|▊ | 2/25 [00:01<00:19, 1.16it/s] 12%|█▏ | 3/25 [00:02<00:20, 1.09it/s] 16%|█▌ | 4/25 [00:03<00:19, 1.06it/s] 20%|██ | 5/25 [00:04<00:19, 1.05it/s] 24%|██▍ | 6/25 [00:05<00:18, 1.04it/s] 28%|██▊ | 7/25 [00:06<00:17, 1.03it/s] 32%|███▏ | 8/25 [00:07<00:16, 1.02it/s] 36%|███▌ | 9/25 [00:08<00:15, 1.02it/s] 40%|████ | 10/25 [00:09<00:14, 1.02it/s] 44%|████▍ | 11/25 [00:10<00:13, 1.02it/s] 48%|████▊ | 12/25 [00:11<00:12, 1.02it/s] 52%|█████▏ | 13/25 [00:12<00:11, 1.02it/s] 56%|█████▌ | 14/25 [00:13<00:10, 1.02it/s] 60%|██████ | 15/25 [00:14<00:09, 1.01it/s] 64%|██████▍ | 16/25 [00:15<00:08, 1.01it/s] 68%|██████▊ | 17/25 [00:16<00:07, 1.01it/s] 72%|███████▏ | 18/25 [00:17<00:06, 1.01it/s] 76%|███████▌ | 19/25 [00:18<00:05, 1.01it/s] 80%|████████ | 20/25 [00:19<00:04, 1.01it/s] 84%|████████▍ | 21/25 [00:20<00:03, 1.01it/s] 88%|████████▊ | 22/25 [00:21<00:02, 1.01it/s] 92%|█████████▏| 23/25 [00:22<00:01, 1.01it/s] 96%|█████████▌| 24/25 [00:23<00:00, 1.01it/s] 100%|██████████| 25/25 [00:24<00:00, 1.01it/s] 100%|██████████| 25/25 [00:24<00:00, 1.02it/s]
Prediction
justmalhar/flux-mobile-ui:1bf33620IDmdczs4gwm1rm20chfv28q19q0mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- num_inference_steps
- 4
{ "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", { input: { model: "schnell", prompt: "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", lora_scale: 1, num_outputs: 4, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, num_inference_steps: 4 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", input={ "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", "input": { "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-23T10:24:43.762595Z", "created_at": "2024-08-23T10:24:27.296000Z", "data_removed": false, "error": null, "id": "mdczs4gwm1rm20chfv28q19q0m", "input": { "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 }, "logs": "Using seed: 36769\nPrompt: MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface\ntxt2img mode\nUsing schnell model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9322812465152\nDownloading weights\n2024-08-23T10:24:27Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\n2024-08-23T10:24:29Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size=\"181 MB\" total_elapsed=1.618s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\nb''\nDownloaded weights in 1.6485824584960938 seconds\nLoRA weights loaded successfully\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.03it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.20it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.13it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.10it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.11it/s]", "metrics": { "predict_time": 16.455299855, "total_time": 16.466595 }, "output": [ "https://replicate.delivery/yhqm/VN7rVIXsaPrvLFstdoPqoIUA5p4l4Qc0maixNJRL1N3aVY1E/out-0.jpg", "https://replicate.delivery/yhqm/UcZ61ee4xOjgqkKLyPn49tjVLs0eNvfeePC0rtwpg8w4aVY1E/out-1.jpg", "https://replicate.delivery/yhqm/c5GisEIsel2ZGip1lfKeVdiZ5rtTpvPfPOVmYzouf2IctKsaC/out-2.jpg", "https://replicate.delivery/yhqm/KJgj8JC02m72BxpASFlzsc161cL1IPQoFnSq9jNAxo7aVY1E/out-3.jpg" ], "started_at": "2024-08-23T10:24:27.307295Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mdczs4gwm1rm20chfv28q19q0m", "cancel": "https://api.replicate.com/v1/predictions/mdczs4gwm1rm20chfv28q19q0m/cancel" }, "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf" }
Generated inUsing seed: 36769 Prompt: MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface txt2img mode Using schnell model Loading LoRA weights Ensuring enough disk space... Free disk space: 9322812465152 Downloading weights 2024-08-23T10:24:27Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar 2024-08-23T10:24:29Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size="181 MB" total_elapsed=1.618s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar b'' Downloaded weights in 1.6485824584960938 seconds LoRA weights loaded successfully 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.03it/s] 50%|█████ | 2/4 [00:01<00:01, 1.20it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.13it/s] 100%|██████████| 4/4 [00:03<00:00, 1.10it/s] 100%|██████████| 4/4 [00:03<00:00, 1.11it/s]
Prediction
justmalhar/flux-mobile-ui:1bf33620IDmdczs4gwm1rm20chfv28q19q0mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- num_inference_steps
- 4
{ "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", { input: { model: "schnell", prompt: "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", lora_scale: 1, num_outputs: 4, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, num_inference_steps: 4 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", input={ "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", "input": { "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-23T10:24:43.762595Z", "created_at": "2024-08-23T10:24:27.296000Z", "data_removed": false, "error": null, "id": "mdczs4gwm1rm20chfv28q19q0m", "input": { "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 }, "logs": "Using seed: 36769\nPrompt: MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface\ntxt2img mode\nUsing schnell model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9322812465152\nDownloading weights\n2024-08-23T10:24:27Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\n2024-08-23T10:24:29Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size=\"181 MB\" total_elapsed=1.618s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\nb''\nDownloaded weights in 1.6485824584960938 seconds\nLoRA weights loaded successfully\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.03it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.20it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.13it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.10it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.11it/s]", "metrics": { "predict_time": 16.455299855, "total_time": 16.466595 }, "output": [ "https://replicate.delivery/yhqm/VN7rVIXsaPrvLFstdoPqoIUA5p4l4Qc0maixNJRL1N3aVY1E/out-0.jpg", "https://replicate.delivery/yhqm/UcZ61ee4xOjgqkKLyPn49tjVLs0eNvfeePC0rtwpg8w4aVY1E/out-1.jpg", "https://replicate.delivery/yhqm/c5GisEIsel2ZGip1lfKeVdiZ5rtTpvPfPOVmYzouf2IctKsaC/out-2.jpg", "https://replicate.delivery/yhqm/KJgj8JC02m72BxpASFlzsc161cL1IPQoFnSq9jNAxo7aVY1E/out-3.jpg" ], "started_at": "2024-08-23T10:24:27.307295Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mdczs4gwm1rm20chfv28q19q0m", "cancel": "https://api.replicate.com/v1/predictions/mdczs4gwm1rm20chfv28q19q0m/cancel" }, "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf" }
Generated inUsing seed: 36769 Prompt: MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface txt2img mode Using schnell model Loading LoRA weights Ensuring enough disk space... Free disk space: 9322812465152 Downloading weights 2024-08-23T10:24:27Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar 2024-08-23T10:24:29Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size="181 MB" total_elapsed=1.618s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar b'' Downloaded weights in 1.6485824584960938 seconds LoRA weights loaded successfully 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.03it/s] 50%|█████ | 2/4 [00:01<00:01, 1.20it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.13it/s] 100%|██████████| 4/4 [00:03<00:00, 1.10it/s] 100%|██████████| 4/4 [00:03<00:00, 1.11it/s]
Prediction
justmalhar/flux-mobile-ui:1bf33620IDsvqhchgtk1rm20chfv2r5c5jwwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- num_inference_steps
- 25
{ "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", { input: { model: "schnell", prompt: "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", lora_scale: 1, num_outputs: 4, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, num_inference_steps: 25 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", input={ "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", "input": { "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-23T10:26:08.487982Z", "created_at": "2024-08-23T10:25:32.312000Z", "data_removed": false, "error": null, "id": "svqhchgtk1rm20chfv2r5c5jww", "input": { "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 }, "logs": "Using seed: 5453\nPrompt: MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface\ntxt2img mode\nUsing schnell model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9769166446592\nDownloading weights\n2024-08-23T10:25:32Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\n2024-08-23T10:25:35Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size=\"181 MB\" total_elapsed=2.672s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\nb''\nDownloaded weights in 2.777927875518799 seconds\nLoRA weights loaded successfully\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:22, 1.09it/s]\n 8%|▊ | 2/25 [00:01<00:18, 1.24it/s]\n 12%|█▏ | 3/25 [00:02<00:18, 1.16it/s]\n 16%|█▌ | 4/25 [00:03<00:18, 1.13it/s]\n 20%|██ | 5/25 [00:04<00:18, 1.11it/s]\n 24%|██▍ | 6/25 [00:05<00:17, 1.10it/s]\n 28%|██▊ | 7/25 [00:06<00:16, 1.09it/s]\n 32%|███▏ | 8/25 [00:07<00:15, 1.09it/s]\n 36%|███▌ | 9/25 [00:08<00:14, 1.08it/s]\n 40%|████ | 10/25 [00:09<00:13, 1.08it/s]\n 44%|████▍ | 11/25 [00:09<00:12, 1.08it/s]\n 48%|████▊ | 12/25 [00:10<00:12, 1.08it/s]\n 52%|█████▏ | 13/25 [00:11<00:11, 1.08it/s]\n 56%|█████▌ | 14/25 [00:12<00:10, 1.08it/s]\n 60%|██████ | 15/25 [00:13<00:09, 1.08it/s]\n 64%|██████▍ | 16/25 [00:14<00:08, 1.08it/s]\n 68%|██████▊ | 17/25 [00:15<00:07, 1.08it/s]\n 72%|███████▏ | 18/25 [00:16<00:06, 1.08it/s]\n 76%|███████▌ | 19/25 [00:17<00:05, 1.08it/s]\n 80%|████████ | 20/25 [00:18<00:04, 1.08it/s]\n 84%|████████▍ | 21/25 [00:19<00:03, 1.08it/s]\n 88%|████████▊ | 22/25 [00:20<00:02, 1.08it/s]\n 92%|█████████▏| 23/25 [00:21<00:01, 1.08it/s]\n 96%|█████████▌| 24/25 [00:22<00:00, 1.08it/s]\n100%|██████████| 25/25 [00:23<00:00, 1.08it/s]\n100%|██████████| 25/25 [00:23<00:00, 1.09it/s]", "metrics": { "predict_time": 36.164066607, "total_time": 36.175982 }, "output": [ "https://replicate.delivery/yhqm/fkq7ySfbqdieDpbqiMhey7NEWrV161xcoUFssx5qX7kBcFWNB/out-0.jpg", "https://replicate.delivery/yhqm/sjTjOpOxGybRKl40VmOAZl92Zu9bemPfLE4Mrsbs3Q3AXhVTA/out-1.jpg", "https://replicate.delivery/yhqm/i47twEasjjZkMlfMn1OkGeiM5wISiee9yTxx2Xmx9X6AcFWNB/out-2.jpg", "https://replicate.delivery/yhqm/VfazG0Gfzbh6TUd2gZmLfzawh6aE2bikdGbbsCZno5dBuCrmA/out-3.jpg" ], "started_at": "2024-08-23T10:25:32.323915Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/svqhchgtk1rm20chfv2r5c5jww", "cancel": "https://api.replicate.com/v1/predictions/svqhchgtk1rm20chfv2r5c5jww/cancel" }, "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf" }
Generated inUsing seed: 5453 Prompt: MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface txt2img mode Using schnell model Loading LoRA weights Ensuring enough disk space... Free disk space: 9769166446592 Downloading weights 2024-08-23T10:25:32Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar 2024-08-23T10:25:35Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size="181 MB" total_elapsed=2.672s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar b'' Downloaded weights in 2.777927875518799 seconds LoRA weights loaded successfully 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:22, 1.09it/s] 8%|▊ | 2/25 [00:01<00:18, 1.24it/s] 12%|█▏ | 3/25 [00:02<00:18, 1.16it/s] 16%|█▌ | 4/25 [00:03<00:18, 1.13it/s] 20%|██ | 5/25 [00:04<00:18, 1.11it/s] 24%|██▍ | 6/25 [00:05<00:17, 1.10it/s] 28%|██▊ | 7/25 [00:06<00:16, 1.09it/s] 32%|███▏ | 8/25 [00:07<00:15, 1.09it/s] 36%|███▌ | 9/25 [00:08<00:14, 1.08it/s] 40%|████ | 10/25 [00:09<00:13, 1.08it/s] 44%|████▍ | 11/25 [00:09<00:12, 1.08it/s] 48%|████▊ | 12/25 [00:10<00:12, 1.08it/s] 52%|█████▏ | 13/25 [00:11<00:11, 1.08it/s] 56%|█████▌ | 14/25 [00:12<00:10, 1.08it/s] 60%|██████ | 15/25 [00:13<00:09, 1.08it/s] 64%|██████▍ | 16/25 [00:14<00:08, 1.08it/s] 68%|██████▊ | 17/25 [00:15<00:07, 1.08it/s] 72%|███████▏ | 18/25 [00:16<00:06, 1.08it/s] 76%|███████▌ | 19/25 [00:17<00:05, 1.08it/s] 80%|████████ | 20/25 [00:18<00:04, 1.08it/s] 84%|████████▍ | 21/25 [00:19<00:03, 1.08it/s] 88%|████████▊ | 22/25 [00:20<00:02, 1.08it/s] 92%|█████████▏| 23/25 [00:21<00:01, 1.08it/s] 96%|█████████▌| 24/25 [00:22<00:00, 1.08it/s] 100%|██████████| 25/25 [00:23<00:00, 1.08it/s] 100%|██████████| 25/25 [00:23<00:00, 1.09it/s]
Prediction
justmalhar/flux-mobile-ui:1bf33620IDze1rg8vrz1rm20chfv3vbp99fgStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- MOBIUI containing a Maps navigation app screen, map view with direction options, bottom navigation bar, remaining time, routes, step by step directions, app ui, mobile user interface, user interface,
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- num_inference_steps
- 25
{ "model": "dev", "prompt": "MOBIUI containing a Maps navigation app screen, map view with direction options, bottom navigation bar, remaining time, routes, step by step directions, app ui, mobile user interface, user interface, ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", { input: { model: "dev", prompt: "MOBIUI containing a Maps navigation app screen, map view with direction options, bottom navigation bar, remaining time, routes, step by step directions, app ui, mobile user interface, user interface, ", lora_scale: 1, num_outputs: 4, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, num_inference_steps: 25 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", input={ "model": "dev", "prompt": "MOBIUI containing a Maps navigation app screen, map view with direction options, bottom navigation bar, remaining time, routes, step by step directions, app ui, mobile user interface, user interface, ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", "input": { "model": "dev", "prompt": "MOBIUI containing a Maps navigation app screen, map view with direction options, bottom navigation bar, remaining time, routes, step by step directions, app ui, mobile user interface, user interface, ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-23T10:28:45.477415Z", "created_at": "2024-08-23T10:28:07.544000Z", "data_removed": false, "error": null, "id": "ze1rg8vrz1rm20chfv3vbp99fg", "input": { "model": "dev", "prompt": "MOBIUI containing a Maps navigation app screen, map view with direction options, bottom navigation bar, remaining time, routes, step by step directions, app ui, mobile user interface, user interface, ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 25 }, "logs": "Using seed: 41563\nPrompt: MOBIUI containing a Maps navigation app screen, map view with direction options, bottom navigation bar, remaining time, routes, step by step directions, app ui, mobile user interface, user interface,\ntxt2img mode\nUsing dev model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9733519069184\nDownloading weights\n2024-08-23T10:28:07Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\n2024-08-23T10:28:10Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size=\"181 MB\" total_elapsed=2.569s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\nb''\nDownloaded weights in 2.6016786098480225 seconds\nLoRA weights loaded successfully\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [00:00<00:23, 1.00it/s]\n 8%|▊ | 2/25 [00:01<00:20, 1.15it/s]\n 12%|█▏ | 3/25 [00:02<00:20, 1.08it/s]\n 16%|█▌ | 4/25 [00:03<00:20, 1.05it/s]\n 20%|██ | 5/25 [00:04<00:19, 1.03it/s]\n 24%|██▍ | 6/25 [00:05<00:18, 1.02it/s]\n 28%|██▊ | 7/25 [00:06<00:17, 1.01it/s]\n 32%|███▏ | 8/25 [00:07<00:16, 1.01it/s]\n 36%|███▌ | 9/25 [00:08<00:15, 1.00it/s]\n 40%|████ | 10/25 [00:09<00:14, 1.00it/s]\n 44%|████▍ | 11/25 [00:10<00:13, 1.00it/s]\n 48%|████▊ | 12/25 [00:11<00:12, 1.00it/s]\n 52%|█████▏ | 13/25 [00:12<00:11, 1.00it/s]\n 56%|█████▌ | 14/25 [00:13<00:11, 1.00s/it]\n 60%|██████ | 15/25 [00:14<00:10, 1.00s/it]\n 64%|██████▍ | 16/25 [00:15<00:09, 1.00s/it]\n 68%|██████▊ | 17/25 [00:16<00:08, 1.00s/it]\n 72%|███████▏ | 18/25 [00:17<00:07, 1.00s/it]\n 76%|███████▌ | 19/25 [00:18<00:06, 1.00s/it]\n 80%|████████ | 20/25 [00:19<00:05, 1.00s/it]\n 84%|████████▍ | 21/25 [00:20<00:04, 1.00s/it]\n 88%|████████▊ | 22/25 [00:21<00:03, 1.00s/it]\n 92%|█████████▏| 23/25 [00:22<00:02, 1.00s/it]\n 96%|█████████▌| 24/25 [00:23<00:01, 1.01s/it]\n100%|██████████| 25/25 [00:24<00:00, 1.01s/it]\n100%|██████████| 25/25 [00:24<00:00, 1.01it/s]", "metrics": { "predict_time": 37.919399939, "total_time": 37.933415 }, "output": [ "https://replicate.delivery/yhqm/5YYlxvecys0TV6wlwjfezfV2prwvRy3XvMEfEMTaB4MqLLsaC/out-0.jpg", "https://replicate.delivery/yhqm/DvIxC5BYxdalFJeYhC5PrYAvUllGf5x0P9xJSXdYBBydZhVTA/out-1.jpg", "https://replicate.delivery/yhqm/4SuEjyUf3h05F6n7VFwVeM6pULMh8mZtUaRo6KRhctrdZhVTA/out-2.jpg", "https://replicate.delivery/yhqm/mndEEnSDR46qJBMFHjOgwITCA4WHUmVOjcqz0AGBbKQXWY1E/out-3.jpg" ], "started_at": "2024-08-23T10:28:07.558015Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ze1rg8vrz1rm20chfv3vbp99fg", "cancel": "https://api.replicate.com/v1/predictions/ze1rg8vrz1rm20chfv3vbp99fg/cancel" }, "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf" }
Generated inUsing seed: 41563 Prompt: MOBIUI containing a Maps navigation app screen, map view with direction options, bottom navigation bar, remaining time, routes, step by step directions, app ui, mobile user interface, user interface, txt2img mode Using dev model Loading LoRA weights Ensuring enough disk space... Free disk space: 9733519069184 Downloading weights 2024-08-23T10:28:07Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar 2024-08-23T10:28:10Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size="181 MB" total_elapsed=2.569s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar b'' Downloaded weights in 2.6016786098480225 seconds LoRA weights loaded successfully 0%| | 0/25 [00:00<?, ?it/s] 4%|▍ | 1/25 [00:00<00:23, 1.00it/s] 8%|▊ | 2/25 [00:01<00:20, 1.15it/s] 12%|█▏ | 3/25 [00:02<00:20, 1.08it/s] 16%|█▌ | 4/25 [00:03<00:20, 1.05it/s] 20%|██ | 5/25 [00:04<00:19, 1.03it/s] 24%|██▍ | 6/25 [00:05<00:18, 1.02it/s] 28%|██▊ | 7/25 [00:06<00:17, 1.01it/s] 32%|███▏ | 8/25 [00:07<00:16, 1.01it/s] 36%|███▌ | 9/25 [00:08<00:15, 1.00it/s] 40%|████ | 10/25 [00:09<00:14, 1.00it/s] 44%|████▍ | 11/25 [00:10<00:13, 1.00it/s] 48%|████▊ | 12/25 [00:11<00:12, 1.00it/s] 52%|█████▏ | 13/25 [00:12<00:11, 1.00it/s] 56%|█████▌ | 14/25 [00:13<00:11, 1.00s/it] 60%|██████ | 15/25 [00:14<00:10, 1.00s/it] 64%|██████▍ | 16/25 [00:15<00:09, 1.00s/it] 68%|██████▊ | 17/25 [00:16<00:08, 1.00s/it] 72%|███████▏ | 18/25 [00:17<00:07, 1.00s/it] 76%|███████▌ | 19/25 [00:18<00:06, 1.00s/it] 80%|████████ | 20/25 [00:19<00:05, 1.00s/it] 84%|████████▍ | 21/25 [00:20<00:04, 1.00s/it] 88%|████████▊ | 22/25 [00:21<00:03, 1.00s/it] 92%|█████████▏| 23/25 [00:22<00:02, 1.00s/it] 96%|█████████▌| 24/25 [00:23<00:01, 1.01s/it] 100%|██████████| 25/25 [00:24<00:00, 1.01s/it] 100%|██████████| 25/25 [00:24<00:00, 1.01it/s]
Prediction
justmalhar/flux-mobile-ui:1bf33620IDmdczs4gwm1rm20chfv28q19q0mStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- schnell
- prompt
- MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- num_inference_steps
- 4
{ "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", { input: { model: "schnell", prompt: "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", lora_scale: 1, num_outputs: 4, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, num_inference_steps: 4 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "justmalhar/flux-mobile-ui:1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", input={ "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run justmalhar/flux-mobile-ui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf", "input": { "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-23T10:24:43.762595Z", "created_at": "2024-08-23T10:24:27.296000Z", "data_removed": false, "error": null, "id": "mdczs4gwm1rm20chfv28q19q0m", "input": { "model": "schnell", "prompt": "MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface ", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "num_inference_steps": 4 }, "logs": "Using seed: 36769\nPrompt: MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface\ntxt2img mode\nUsing schnell model\nLoading LoRA weights\nEnsuring enough disk space...\nFree disk space: 9322812465152\nDownloading weights\n2024-08-23T10:24:27Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\n2024-08-23T10:24:29Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size=\"181 MB\" total_elapsed=1.618s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar\nb''\nDownloaded weights in 1.6485824584960938 seconds\nLoRA weights loaded successfully\n 0%| | 0/4 [00:00<?, ?it/s]\n 25%|██▌ | 1/4 [00:00<00:02, 1.03it/s]\n 50%|█████ | 2/4 [00:01<00:01, 1.20it/s]\n 75%|███████▌ | 3/4 [00:02<00:00, 1.13it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.10it/s]\n100%|██████████| 4/4 [00:03<00:00, 1.11it/s]", "metrics": { "predict_time": 16.455299855, "total_time": 16.466595 }, "output": [ "https://replicate.delivery/yhqm/VN7rVIXsaPrvLFstdoPqoIUA5p4l4Qc0maixNJRL1N3aVY1E/out-0.jpg", "https://replicate.delivery/yhqm/UcZ61ee4xOjgqkKLyPn49tjVLs0eNvfeePC0rtwpg8w4aVY1E/out-1.jpg", "https://replicate.delivery/yhqm/c5GisEIsel2ZGip1lfKeVdiZ5rtTpvPfPOVmYzouf2IctKsaC/out-2.jpg", "https://replicate.delivery/yhqm/KJgj8JC02m72BxpASFlzsc161cL1IPQoFnSq9jNAxo7aVY1E/out-3.jpg" ], "started_at": "2024-08-23T10:24:27.307295Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mdczs4gwm1rm20chfv28q19q0m", "cancel": "https://api.replicate.com/v1/predictions/mdczs4gwm1rm20chfv28q19q0m/cancel" }, "version": "1bf3362039a0ba88a625bff817a559bd8466428ae5a357e172fabfd4fe066fdf" }
Generated inUsing seed: 36769 Prompt: MOBIUI containing a food ordering app screen, multiple restaurant selection options, bottom navigation bar, cards, offers and promotions card, app ui, mobile user interface txt2img mode Using schnell model Loading LoRA weights Ensuring enough disk space... Free disk space: 9322812465152 Downloading weights 2024-08-23T10:24:27Z | INFO | [ Initiating ] chunk_size=150M dest=/src/weights-cache/2c8f74d277701d7c url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar 2024-08-23T10:24:29Z | INFO | [ Complete ] dest=/src/weights-cache/2c8f74d277701d7c size="181 MB" total_elapsed=1.618s url=https://replicate.delivery/yhqm/v6e5FP2DnMTdf0VlCxKJBG0WC5yJB5UC1n2LwkzSlEsw1gVTA/trained_model.tar b'' Downloaded weights in 1.6485824584960938 seconds LoRA weights loaded successfully 0%| | 0/4 [00:00<?, ?it/s] 25%|██▌ | 1/4 [00:00<00:02, 1.03it/s] 50%|█████ | 2/4 [00:01<00:01, 1.20it/s] 75%|███████▌ | 3/4 [00:02<00:00, 1.13it/s] 100%|██████████| 4/4 [00:03<00:00, 1.10it/s] 100%|██████████| 4/4 [00:03<00:00, 1.11it/s]
Want to make some of these yourself?
Run this model