stoodioai/test-yash-model-4-new-2 - AI Image Tools Tool
Overview
stoodioai/test-yash-model-4-new-2 is a custom-trained generative image model hosted on Replicate that focuses on producing unique fashion design imagery. It supports both text-to-image and image-to-image (inpainting) workflows via an API, letting designers and developers generate new garment concepts from prompts or refine existing photos by replacing or editing regions. The model exposes configurable parameters such as prompt, aspect ratio, model type, and output quality so users can balance stylistic intent, framing, and compute/visual fidelity. Designed for rapid concept iteration, the model is suitable for mood-boarding, preliminary pattern and silhouette exploration, and targeted edits like swapping fabrics or adding details via inpainting. Because it is available through Replicate’s API, it can be integrated into design tools, web demos, or batch-generation scripts. The model page on Replicate provides the API endpoint and parameter list for programmatic access; specific performance, throughput, and commercial licensing details are not published on the model listing.
Key Features
- Text-to-image generation tailored for fashion concepts and silhouettes
- Image-to-image inpainting to swap fabrics, patterns, or localized details
- Configurable aspect ratio to produce portrait, landscape, or square compositions
- Selectable model type to prioritize stylization or photorealism per generation
- Adjustable output quality for faster drafts or higher-fidelity renders
Example Usage
Example (python):
import os
import replicate
# Requires REPLICATE_API_TOKEN in env
# pip install replicate
client = replicate.Client(api_token=os.environ.get("REPLICATE_API_TOKEN"))
model = client.models.get("stoodioai/test-yash-model-4-new-2")
# Text-to-image example
output = model.predict(
prompt="A futuristic streetwear jacket with asymmetrical seams, metallic accents, and layered fabrics, photorealistic",
mode="text2image", # text2image mode
aspect_ratio="3:4", # example aspect ratio parameter
model_type="creative", # example model type selector (see model page for exact keys)
output_quality="standard" # output quality: e.g., low/standard/high
)
print("Text-to-image output:", output)
# Image-to-image (inpainting) example
# Provide publicly reachable URLs for init_image and mask, or upload to a hosting service
output_inpaint = model.predict(
prompt="Replace the dress fabric with a floral print, preserve lighting and pose",
mode="image2image",
init_image="https://example.com/photos/model_base.jpg",
mask_image="https://example.com/photos/mask.png", # white = keep, black = replace (confirm on model page)
aspect_ratio="4:5",
model_type="detailed",
output_quality="high"
)
print("Image-to-image output:", output_inpaint) Key Information
- Category: Image Tools
- Type: AI Image Tools Tool