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

NOTE! I will not release another model for February. I will post a teaser and work on this README more.

asset

Images To Roblox Parts

asset

Images To Roblox Parts (Current: Model-3.5)

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

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 for the original script!

https://devforum.roblox.com/t/converting-image-to-parts-python/2713248

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-G1/Other Planned

  • Full GUI Verison (Model-1G)
  • Add The Automatic Frame By Frame Animation Player to the GUI Version (Model-2G or 1G if I have enough time.)
  • 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)

Completed Tasks Since Model-3.5 Released

  • Working Testing GUI Verison Model (Other) - Unreleased Dev Build
  • HUGE SECURITY UPDATE (Github)
  • Update The README.md for Model-3.5 stuff (Github)
  • Clean Up Source Code (Github)

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
Create Your Dreams: Create Your Dreams Roblox Link OUTDATED

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: Google Drive Link
Update 4/Model-3.5: 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)

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 is the send gif function split into different files? (Github)

A: Since this whole project is free, I can't edit the timeout time. So I spit the send gif function into different files, so it wouldn't timeout when uploading the frames.

-

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)

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: 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.