AI Workflows | Free.ai
Chain AI tools together. Automate multi-step processes with AI.
Cysylltu Offer AI i Pibellau Awtomatig
Galluoga llif gwaith i chi gysylltu nifer o offer AI at ei gilydd. Mae allbwn un cam yn dod yn fewnbwn y cam nesaf. Awtomeiddio prosesau aml-gam a fyddai'n cymryd oriau i'w gwneud â llaw.
Llif Gwaith
Plygell Newyddion
Awtomatig
Pipeline Cynnwys Fideo
Cymorth Ymchwil
Sut i Adeiladu Llif Gwaith
- Dechrau gydag offer — Dewis unrhyw offer AI fel eich pwynt cychwyn (Sgwrsio, Delwedd, TTS, ac ati).
- Copïo'r allbwn — Defnyddio'r canlyniad fel mewnbwn ar gyfer yr erfyn nesaf. Er enghraifft, cymryd testun a gynhyrchir gan AI a'i fwydo i mewn i destun-i-leferydd.
- Awtomatig — Cysylltu galwadau API ynghyd mewn sgript ar gyfer pibellau yn llwyr awtomatig. Gweler ein Dogfennau API.
- Defnyddio Zapier — Connect Free.ai to 5,000+ apps for no-code automation. See our Zapier integration.
Enghraifft Llif Gwaith API
Chain two API calls — generate text then convert to speech:
import requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}
# Step 1: Generate text
resp = requests.post("https://api.free.ai/v1/chat/completions", headers=HEADERS,
json={"model": "qwen2.5-72b", "messages": [{"role": "user", "content": "Write a 2-sentence product description for wireless earbuds"}]})
text = resp.json()["choices"][0]["message"]["content"]
# Step 2: Convert to speech
resp = requests.post("https://api.free.ai/v1/tts", headers=HEADERS,
json={"text": text, "voice": "af_heart"})
with open("output.mp3", "wb") as f:
f.write(resp.content)