Run Arm AI Portal TinySD image generation on Android
Introduction
Prepare the Android command-line tools for TinySD Studio
Connect an Arm-based Android phone and run TinySD Studio
Run and compare TinySD image generation results
Understand the TinySD Studio Android application
(Optional) Use an unsupported model with TinySD Studio
Next Steps
Run Arm AI Portal TinySD image generation on Android
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Set
MODEL_ID to Arm/tiny-sd-int8-xnnpack-executorch-vivo-x300, the Hugging Face repository for this application. Use the same value when you run the model downloader.On macOS or Linux, run
test -d "$ANDROID_HOME/platforms/android-35". In Windows PowerShell, run Test-Path "$env:ANDROID_HOME\platforms\android-35". The PowerShell check returns True when the platform directory exists.You can use either a physical Arm64 Android phone or an Arm64 AVD. Use an emulator on a development computer with at least 16 GB of host memory, or use a physical phone with at least 7 GB of RAM.
The application tokenizes your prompt locally, reports progress through 25 denoising steps, and then displays a 512 x 512 image and the elapsed time. Select Save image to export the result as a PNG.
TinySdImageGenerationAdapter.java connects the shared application interface to ClipTokenizer.java, ModelImporter.java, and TinySdRunner.java. The tokenizer produces 77 CLIP token IDs, and the runner calls the ExecuTorch text encoder, UNet, and VAE decoder. ScheduleData.java loads the DPM-Solver++ values.