API
If you're looking for an API, you can choose from your desired programming language.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import requests
import base64
# Use this function to convert an image file from the filesystem to base64
def image_file_to_base64(image_path):
with open(image_path, 'rb') as f:
image_data = f.read()
return base64.b64encode(image_data).decode('utf-8')
# Use this function to fetch an image from a URL and convert it to base64
def image_url_to_base64(image_url):
response = requests.get(image_url)
image_data = response.content
return base64.b64encode(image_data).decode('utf-8')
api_key = "YOUR_API_KEY"
url = "https://api.segmind.com/v1/kling-fuzzyfuzzy"
# Request payload
data = {
"image": image_url_to_base64("https://segmind-resources.s3.amazonaws.com/output/bf198dc3-6b8d-4e67-881b-bb7bd6315e19-kling-fuzzy.jpg"), # Or use image_file_to_base64("IMAGE_PATH")
"mode": "pro",
"duration": 5
}
headers = {'x-api-key': api_key}
response = requests.post(url, json=data, headers=headers)
print(response.content) # The response is the generated image
Attributes
Image
Mode of generation
Allowed values:
Duration of the animation in seconds
Allowed values:
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
Kling FuzzyFuzzy Effect
The Kling fuzzyfuzzy effect is a unique creative effect from Kling AI designed to transform standard images into charming, soft, and tactile plush-toy-animations. It offers a simple and intuitive way to add a playful and endearing aesthetic to any photograph, making it ideal for social media content creators, digital artists looking for a whimsical touch, and everyday users wanting to inject fun into their pictures.
Key Features of Kling FuzzyFuzzy Effect
-
Instant Plush Transformation - Effortlessly converts any image into a soft, fuzzy, plush-toy-style visual with a single application. This saves time and requires no manual adjustments.
-
Unique Aesthetic Appeal - Provides a distinctive and eye-catching look that can make your content stand out on social media and in digital portfolios. The fuzzy texture adds a layer of visual interest and charm.
-
Versatile Application - Works effectively with a wide range of image types, including portraits, pet photos, landscapes, and even product shots, adding a playful twist to various subjects.
-
Enhanced Emotional Resonance - The plush toy aesthetic often evokes feelings of warmth, comfort, and nostalgia, potentially increasing the emotional impact of your visuals. This can be particularly effective for personal and lighthearted content.
-
Simplified Creative Process - Eliminates the need for intricate manual editing or digital painting to achieve a fuzzy, plush-like effect. This streamlines the creative workflow and allows for rapid experimentation with different images.
Other Popular Models
sdxl-img2img
SDXL Img2Img is used for text-guided image-to-image translation. This model uses the weights from Stable Diffusion to generate new images from an input image using StableDiffusionImg2ImgPipeline from diffusers

sdxl-controlnet
SDXL ControlNet gives unprecedented control over text-to-image generation. SDXL ControlNet models Introduces the concept of conditioning inputs, which provide additional information to guide the image generation process

insta-depth
InstantID aims to generate customized images with various poses or styles from only a single reference ID image while ensuring high fidelity

codeformer
CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.
