Skip to content

Convert a Image to Roblox Parts INSIDE OF ROBLOX! (no downloading - bypasses images)

License

Notifications You must be signed in to change notification settings

coltenthefirst/Image-To-Roblox

Repository files navigation

asset

Images To Roblox Parts

asset

Images To Roblox Parts (Current: Model-3.5/Model-1G)

~ Made with Lua, Python, Flask, and Vercel! ~
Python Version: 3.12
Vercel Plan: Hobby (100% Free Plan)
Repository Size: 36.51 KB

asset


Powered With Vercel


Warning

This project is AGAINST the Terms of Services of Roblox! Usage is on YOUR risk. This doesn't have a filter so nsfw material can be generated.

Warning

Sometimes this can go down and stop working due to me updating and testing new features in the source code. This doesn't happen as often, but its worth knowing.

Important

Model-4 might be the last ever Model I will do for this project. Besides bug fix updates and the GUI Version.

Important

I recommend always updating to the latest Model for Security fixes!

What makes this special from all the other image to roblox tools?
With this you don't have to run anything on your computer! All you need to do is join the Roblox game or download the place file and insert a image url or a gif url. Just wait and you will see your gif or your image! This doesn't have a filter so nsfw material can be generated. This doesn't use Roblox's image API either! So you don't need ID verification!

If you use Model-2. Please read this: fix


I would highly love to credit Netpex, Dallin, and 3xq for the original scripts!

https://devforum.roblox.com/t/converting-image-to-parts-python/2713248 (Original Python Script Without Flask)

https://github.com/3xq/image_bypasser (Original Python Script Without Flask)

https://discordlookup.com/user/915329055174307850 (Original Flask Scripts - My Best Friend btw)

I just maintain this project and I work on the Roblox code. Dallin made the original scripts that worked on your local computer and connected to my Roblox code with http in Roblox Studio.


Introduction

This repository contains the backend source code for the Image To Parts Roblox Game. This tool allows users to convert image URLs into parts within Roblox. Users are free to use the files provided in this repository for their own purposes.

How It Works

Here’s a overview of the process:

  1. Input an image URL and select a quality setting (such as mid, high, low, extra low).
  2. The image URL and selected quality are sent to Vercel.
  3. Vercel downloads the image and runs a Python script based on your selection.
  4. A Lua script is generated and sent back to Roblox, where it is processed into parts that resemble the pixels of your image.

Cloning Vercel and GitHub

Make sure you create a GitHub account and go to Vercel to create a Vercel account by connecting your GitHub account to Vercel.

Click This:

Deploy with Vercel

Set "FLASK_APP" to "server.py"
Set "FLASK_ENV" to "development"
Once it's deployed, go to the settings tab of your Vercel project, click on General, and then click on Project Settings.

Overwrite the Build Command as:

flask run --host=0.0.0.0 --port=5000

Overwrite the Install Command as:

pip install -r requirements.txt

You can go back to the Project page and click on the thumbnail preview that says "Not Found", don't worry, this is normal. Once you are on the site, click on the spacing where the URL ends and type /send_image. It should look like:

https://your-vercel-project-name.vercel.app/send_image


MODEL-2 AND BELOW

Go to your copied Roblox game, open ServerScriptService, and open the script ImageRequestHandler. Replace the line:

local url = "https://image-to-roblox.vercel.app/send_image"
with your URL, like:
local url = "https://your-vercel-project-name.vercel.app/send_image"


MODEL-3 AND HIGHER

Go to your copied Roblox game, open ServerScriptService, and open the module script ServerlessWebsites. Replace the line:

Urls.Image = "https://image-to-roblox.vercel.app/send_image"
with your URL, like:
Urls.Image = "https://your-vercel-project-name.vercel.app/send_image"

You can also replace:

Urls.Gif = "https://image-to-roblox.vercel.app/send_gif"
with:
Urls.Gif = "https://your-vercel-project-name.vercel.app/send_gif"


API Key for the GIF File Processor (Model-3.5)

Go to ImgBB and create an account. After creating an account, go back to ImgBB and generate an API key.
Copy that API key and go to your copied Roblox game, open ServerScriptService, and then open the module script ServerlessWebsites. Replace the line:

Urls.GifAPIkey = "whatever is here"
with your API key, like:
Urls.GifAPIkey = "YourAPIKey"


Now you're done! You can visit your GitHub profile to find the cloned repository, and edit it however you like <3.

To-Do List

~ EXPECT THESE TO CHANGE!!! ~

Current Tasks (IN ORDER) - Model-3.7/Model-G2/Other Planned

  • Add The Automatic Frame By Frame Animation Player to the GUI Version (Model-2G)
  • Add More Image Options for the Cilent-Side (Model-3.7)
  • Update The Website (Other)

Completed Tasks

  • Release (Github/Model-1)
  • Frame By Frame Animation Player (Model-2)
  • Faster Image Gen Speed (Model-2)
  • Enhanced image data privacy (Github)
  • Improved support for black and white images and single-color images (Github)
  • Add a frame-by-frame animation player (Model-2)
  • Add a delete button for parts (Model-2)
  • Fix Error 500 (Github/Model-2)
  • Resolve issue with the first pixel not generating (Model-2)
  • Updated README.md (Github)
  • Automatic Frame By Frame Animation Player (Github/Model-3)
  • Making A Logo (Github)
  • Color Filters (Model-3)
  • More Customizable Image Options (Model-3)
  • Fix The Frame By Frame Animation Player Bug (Model-3)
  • Fix Other Bugs (Github/Model-3)
  • Updated README.md #2 (Github)
  • Boring Website (Other)
  • Fix vulnerabilitys (Model-4)
  • Fix Part deletion for the Server-Side (Model-4)
  • Cut off Part generation on the Server-Side (Model-4)
  • Working Testing GUI Verison Model (Other) - Unreleased Dev Build
  • Full GUI Model (Model-1G)
  • HUGE SECURITY UPDATE (Github)
  • Update The README.md for Model-3.5 stuff (Github)
  • Clean Up Source Code (Github)

Completed Tasks Since Model-3.5/Model-1G Released

  • x (x)

Videos

Info Video
Model-1 Release: Model-1 YouTube Link
Model-2 Release: Model-2 YouTube Link
Vercel Setup Tutorial: Vercel Setup Tutorial YouTube Link

Game Link

Name Link
Img To Rbx (Demo): Img To Rbx Demo Roblox Link
Img To Roblox - GUI Version (Demo): Img To Roblox - GUI Version (Demo) Roblox Link

You can download the place files here:

Model / Update Download
Update 1/Model-1: Google Drive Link
Update 2/Model-2: Google Drive Link
Update 3/Model-3 - (⚠️ DO NOT USE! ⚠️): Google Drive Link
Update 4/Model-3.5: Google Drive Link
Update 1/Model-1G: Google Drive Link

Uploading Custom Images

For obtaining direct image urls, I recommended to use Postimages.org to obtain a direct link. Other services can be used as long as they provide a direct link.

Tested Image Services

✅ Recommended (Works)

Free, No Account Needed:

Free, But Limited Functionality:

❌ Not Recommended (Does Not Work)

  • imgur.com — Direct Links Are Broken
  • prnt.sc — Direct Links Are Broken (THE OWNER BANNED MY IP ADDRESS BECAUSE OF A BUG 😭)
  • dropbox.com — Direct Links Are Broken

FAQ

Q: Does this have a NSFW filter? (All Models and Github)

A: No, this does NOT have a NSFW filter.

-

Q: What happened to the NSFW filter version? (Other)

A: The NSFW filter wasn't very good at detecting NSFW images or NSFW words in images. It was very buggy and was very messy to take care of. Sorry for shutting it down but, I couldn't keep working on it anymore. You can always make a fanmade NSFW Filter. Thank you. If you want the archive files then just download the repository: https://github.com/coltenthefirst/image-to-roblox-FILTERED. The place file still works along with the vercel server for it.

-

Q: Do my uploaded images get logged? (All Models and Github)

A: Uploaded images are temporary logged, they cannot be downloaded, viewed, or anything, unless its in Roblox.

-

Q: Will I get banned for using exploit images? (Other)

A: I said before that you won't be banned, but you can be banned. Please be careful when using this in your games.

-

Q: Why does the game not process my chosen image hosting service? (Other)

A: Either 1. The image hosting service you use is not on the allow list, or 2. The image hosting service's direct links don't work properly. Check this README for the allowed image hosting services. You can also make a issue so I could test out and add that image hoster to the allow list.

-

Q: Why does the game have a website domain allow list? (Other/Github)

A: The reason why it has a allow list is because of security. I don't want this vulnerable to attacks, and url links would be a easy attack.

-

Q: Why is the animation player not working? (Model-2)

A: Please read this: fix

-

Q: Why is the animation player not working? (Model-3 and Higher)

A: Sometimes the api key can get rate limited and for it to work again, you would have to wait a hour. Or you can make another api key, delete the old one, and use the new one.

-

Q: Why should I not use Model-3? (Model-3)

A: The way I stored the API key for the gif processor, made the API key REALLY VULNERABLE and EASY for exploiters (aka "hackers") to get ahold of. I recommend you use Model-3.5 since it solves Model-3's issues. Or a later Model.

-

Q: How can I help on this project? (Other)

A: You can star this project or, dm me on discord if you want to help another way: "unknowingly_exists"

-

Project For Roblox

Coded With Python Coded With Lua

Source Code Powered With GitHub Powered With Flask Powered With Vercel


License

This project is licensed under the MIT License. You are free to use, modify, and distribute the files in this repository, as long as you include the original license. For more details, see the LICENSE file.

Contributing

Contributions are welcome. If you have suggestions or improvements, please open an issue or submit a pull request.