一、接口介绍

  零云团队出品的头像制作接口,可以自定义多种头像参数,制作出各种样式的头像图片,让您的头像从此与众不同。

二、接口调用方式

  方法:POST
  请求格式:JSON
  请求地址:http://tx.0yun.org/api/Composite/Generator

新增Data内部属性

//生成的文字集合
List<string> textList = new List<string>() { "零壹计算", "QQ:675535" };
//用户秘钥
string userkey = "EF8673E84DBF478CAA72CDF30DF8D1D6";
//传输秘钥
string secretkey = "3d9eb34fddc1458ea70106d3b5edfced";
//序列化请求数据
string serializedData = Serializer(new { HeadType = 1, TextList = textList, Time = DateTime.Now });
//使用AES加密请求数据
string encryptString = Encrypt(serializedData, secretkey);
//POST请求体
string postdata = Serializer(new { UserKey = userkey, Data = encryptString });
//提交数据至服务器
string respImages = PostHtml("http://tx.0yun.org/api/Composite/Generator", postdata);
//返回图片链接集合
List<string> urls = Deserialize<List<string>>(respImages);
//显示第一幅图片
this.PictureBox.ImageLocation = url[0];
Serializer 序列化对象的方法。
Encrypt AES加密方法。
PostHtml 提交数据到接口的方法。
Deserialize 反序列化字符串的方法。
PictureBox 图像控件。

### 三、联系方式
  有任何疑问请咨询:QQ_3027211824,QQ_100336359

四、水印字体配置软件下载链接

软件及教程下载: 百度网盘 提取码:6fvf


☆零℡壹☆