Compose a Tweet

Crafts an engaging tweet.

Input

This task automatically generates three impactful tweets focused on the provided topic.

[1.0.2]:
Tweet Generator
[1.0.1]:
Tweet Generator
[1.0.0]:
First version
VersionAI ModelCreatedLink
1.0.204.06.2023
1.0.104.06.2023
1.0.003.06.2023

API

The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.

Parameters

  • Topic (Topic of the tweet): The task generates tweets on this topic.
  • Account Type (Type of your account): Specify the subject matter covered by your twitter account
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/u-806494eb1fbfb39f-compose-a-tweet/1.0.2?Topic=Rising%20Global%20Temperature&Account Type=Climate%20Change
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res = client.run('u-806494eb1fbfb39f-compose-a-tweet','1.0.2', {'Topic': 'Rising Global Temperature', 'Account Type': 'Climate Change'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('u-806494eb1fbfb39f-compose-a-tweet','1.0.2', Topic='Rising Global Temperature', Account Type='Climate Change')

Task infos

Author: AnySolve
Status: Published
Version: 1.0.2
Runs: 12 times
Favorites: 0
Average costs: 3 Credits (0.003 EUR)
Created: 04.06.2023